-
Notifications
You must be signed in to change notification settings - Fork 178
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
Add a simple markdown to plain text converter #210
Merged
garypretty
merged 17 commits into
BotBuilderCommunity:feature/adopt-alexadotnet
from
NickEricson:feature/adopt-alexadotnet
Mar 25, 2020
Merged
Add a simple markdown to plain text converter #210
garypretty
merged 17 commits into
BotBuilderCommunity:feature/adopt-alexadotnet
from
NickEricson:feature/adopt-alexadotnet
Mar 25, 2020
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
…to feature/adopt-alexadotnet
…icson/botbuilder-community-dotnet into feature/adopt-alexadotnet
garypretty
approved these changes
Mar 25, 2020
garypretty
added a commit
that referenced
this pull request
Apr 21, 2020
* - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com>
garypretty
added a commit
that referenced
this pull request
Apr 22, 2020
* - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com>
garypretty
added a commit
that referenced
this pull request
May 4, 2020
* Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com>
garypretty
added a commit
that referenced
this pull request
May 4, 2020
* Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com>
garypretty
added a commit
that referenced
this pull request
May 4, 2020
* Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com>
garypretty
added a commit
that referenced
this pull request
May 12, 2020
* - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com>
garypretty
added a commit
that referenced
this pull request
May 15, 2020
* - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review * Updated Google Adapter Readme. Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com>
garypretty
added a commit
that referenced
this pull request
May 15, 2020
* Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](aspnet/Universe@2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping * convert to csharp (#246) * Refactor of Google Adapter (#190) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * [AdaptiveDialogs] Add Rest actions (#232) * Add Adaptive Rest action * Add nuget metadata * Add Readme * Fix readme * Fix documentation * Fix sln * Fix merge sln Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Add Infobip Adapter (#247) * Add Infobip Adapter * Updated readme to nuget vs myget. * Update readme * Switch to xunit * autoformat all files. * Sln file merge Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Doc updates for Google Adapter (#249) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review * Updated Google Adapter Readme. Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Update README.md Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr>
garypretty
added a commit
that referenced
this pull request
May 15, 2020
* Fix for Zoom adapter throwing on no channel ID (#245) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Release 05/15/2020 (#250) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping * convert to csharp (#246) * Refactor of Google Adapter (#190) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * [AdaptiveDialogs] Add Rest actions (#232) * Add Adaptive Rest action * Add nuget metadata * Add Readme * Fix readme * Fix documentation * Fix sln * Fix merge sln Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Add Infobip Adapter (#247) * Add Infobip Adapter * Updated readme to nuget vs myget. * Update readme * Switch to xunit * autoformat all files. * Sln file merge Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Doc updates for Google Adapter (#249) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review * Updated Google Adapter Readme. Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Update README.md Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr>
garypretty
added a commit
that referenced
this pull request
May 15, 2020
* Master (#252) * Fix for Zoom adapter throwing on no channel ID (#245) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Release 05/15/2020 (#250) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping * convert to csharp (#246) * Refactor of Google Adapter (#190) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * [AdaptiveDialogs] Add Rest actions (#232) * Add Adaptive Rest action * Add nuget metadata * Add Readme * Fix readme * Fix documentation * Fix sln * Fix merge sln Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Add Infobip Adapter (#247) * Add Infobip Adapter * Updated readme to nuget vs myget. * Update readme * Switch to xunit * autoformat all files. * Sln file merge Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Doc updates for Google Adapter (#249) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review * Updated Google Adapter Readme. Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Update README.md Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Fixed a small typo * Fix for Google validation which prevented a user from disabling checks (#253) Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr>
garypretty
added a commit
that referenced
this pull request
May 15, 2020
* Master (#252) * Fix for Zoom adapter throwing on no channel ID (#245) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Release 05/15/2020 (#250) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping * convert to csharp (#246) * Refactor of Google Adapter (#190) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * [AdaptiveDialogs] Add Rest actions (#232) * Add Adaptive Rest action * Add nuget metadata * Add Readme * Fix readme * Fix documentation * Fix sln * Fix merge sln Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Add Infobip Adapter (#247) * Add Infobip Adapter * Updated readme to nuget vs myget. * Update readme * Switch to xunit * autoformat all files. * Sln file merge Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Doc updates for Google Adapter (#249) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review * Updated Google Adapter Readme. Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Update README.md Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Fixed a small typo * Fix for Google validation which prevented a user from disabling checks (#253) * Further google request validation fix (#255) * Fix for Google validation which prevented a user from disabling checks * Further fix for Google request validation Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr>
garypretty
added a commit
that referenced
this pull request
Jun 2, 2020
* Master (#252) * Fix for Zoom adapter throwing on no channel ID (#245) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Release 05/15/2020 (#250) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping * convert to csharp (#246) * Refactor of Google Adapter (#190) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * [AdaptiveDialogs] Add Rest actions (#232) * Add Adaptive Rest action * Add nuget metadata * Add Readme * Fix readme * Fix documentation * Fix sln * Fix merge sln Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Add Infobip Adapter (#247) * Add Infobip Adapter * Updated readme to nuget vs myget. * Update readme * Switch to xunit * autoformat all files. * Sln file merge Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Doc updates for Google Adapter (#249) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review * Updated Google Adapter Readme. Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Update README.md Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Fixed a small typo * Fix for Google validation which prevented a user from disabling checks (#253) * Further google request validation fix (#255) * Fix for Google validation which prevented a user from disabling checks * Further fix for Google request validation * Update README.md * Fix casing for Infobip in readme. (#262) * Add bot sample for Infobip Whatsapp adapter (#259) * added bot sample for infobip whatsapp adapter * adapter readme.md file correction * Readme.md file corrections Co-authored-by: iursic <iursic@infobip.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add Infobip sample link to readme (#265) * Added more properties to BasicCardContent to support Rich Content (#258) * Added the class attribute ..to remain consistent with other adapters. * Updated the references to use the latest middleware with ML.NET support * Added more properties to support Rich Card content in GoogleCardFactory. * Replaced the existing media to address the Authorization part and fixed a typo. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa.NET version to pull in fix for deserialization issue (#264) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated Suggested Actions conversion logic (#266) * Updated Suggested Actions conversion logic to only use IMBack and MessageBack types. Add LinkOutSuggestion conversion. * Update Google Sample to use NuGet package instead of project reference. * Fixed missing project reference * Update NuGet packages for libs and samples (#267) * Update NuGet packages for libs to SDK 4.9 and fix a couple of breaking changes in adaptive lib. Update samples NuGet for Bot Builder Community packages to 4.8. * Update Adaptive Rest unit test to add Adaptive component registration Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> Co-authored-by: ivanursic-infobip <64965551+ivanursic-infobip@users.noreply.github.com> Co-authored-by: iursic <iursic@infobip.com>
garypretty
added a commit
that referenced
this pull request
Jun 2, 2020
* Further Google request validation fix (#256) * Master (#252) * Fix for Zoom adapter throwing on no channel ID (#245) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Release 05/15/2020 (#250) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping * convert to csharp (#246) * Refactor of Google Adapter (#190) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * [AdaptiveDialogs] Add Rest actions (#232) * Add Adaptive Rest action * Add nuget metadata * Add Readme * Fix readme * Fix documentation * Fix sln * Fix merge sln Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Add Infobip Adapter (#247) * Add Infobip Adapter * Updated readme to nuget vs myget. * Update readme * Switch to xunit * autoformat all files. * Sln file merge Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Doc updates for Google Adapter (#249) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review * Updated Google Adapter Readme. Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Update README.md Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Fixed a small typo * Fix for Google validation which prevented a user from disabling checks (#253) * Further google request validation fix (#255) * Fix for Google validation which prevented a user from disabling checks * Further fix for Google request validation Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Remove unnecessary try / catch * Release/06022020 (#268) * Master (#252) * Fix for Zoom adapter throwing on no channel ID (#245) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Rem…
garypretty
added a commit
that referenced
this pull request
Jul 2, 2020
* Further Google request validation fix (#256) * Master (#252) * Fix for Zoom adapter throwing on no channel ID (#245) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Release 05/15/2020 (#250) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping * convert to csharp (#246) * Refactor of Google Adapter (#190) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * [AdaptiveDialogs] Add Rest actions (#232) * Add Adaptive Rest action * Add nuget metadata * Add Readme * Fix readme * Fix documentation * Fix sln * Fix merge sln Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Add Infobip Adapter (#247) * Add Infobip Adapter * Updated readme to nuget vs myget. * Update readme * Switch to xunit * autoformat all files. * Sln file merge Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Doc updates for Google Adapter (#249) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review * Updated Google Adapter Readme. Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Update README.md Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Fixed a small typo * Fix for Google validation which prevented a user from disabling checks (#253) * Further google request validation fix (#255) * Fix for Google validation which prevented a user from disabling checks * Further fix for Google request validation Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Remove unnecessary try / catch * Release/06022020 (#268) * Master (#252) * Fix for Zoom adapter throwing on no channel ID (#245) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment t…
garypretty
added a commit
that referenced
this pull request
Jul 2, 2020
* Master (#269) * Further Google request validation fix (#256) * Master (#252) * Fix for Zoom adapter throwing on no channel ID (#245) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Release 05/15/2020 (#250) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Feature/adopt alexadotnet (#235) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * Added the Alexa Adapter Sample to the Solution (#220) The project was missing from the solution so I have now added it as a part of solution. * Remove conversation type per Activity docs (#229) * Update Alexa Sample * Update README.md * Update readme * Attempt to resolve NuGet dependency between Alexa packages * Update project file ref for local NuGet package * Force alexa project to generate local package * More... * Update for nupack * Fix pipelines pack command * Convert other attachments to their strong type (#234) Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> * Update README.md * Update README.md * Update README.md * Update README.md Remove preview label for Alexa adapter * Change Alexa md renderer to remove trailing periods. Added more tests. (#237) * Change Alexa md renderer to remove trailing periods. Added more tests. * Fix link and quote md rendering Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Zoom Adapter (#240) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Update README.md * Update README.md * Update README.md * Zoom adapter request verification (#241) * Add Zoom adapter project * Working Zoom adapter including message templates. * Updated Zoom Readme and made some refactorings to solution * Fixed Zoom request verification * Don't escape Text (#238) * Update project URLs for packages * Added the class attribute (#242) ..to remain consistent with other adapters. * Update readmes for Alexa / Zoom to update NuGet instructions * Update repo readme * Update README.md * Update README.md * Added channel ID to outgoing Zoom activity mapping * convert to csharp (#246) * Refactor of Google Adapter (#190) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * [AdaptiveDialogs] Add Rest actions (#232) * Add Adaptive Rest action * Add nuget metadata * Add Readme * Fix readme * Fix documentation * Fix sln * Fix merge sln Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Add Infobip Adapter (#247) * Add Infobip Adapter * Updated readme to nuget vs myget. * Update readme * Switch to xunit * autoformat all files. * Sln file merge Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Doc updates for Google Adapter (#249) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * First iteration on Google refactor * Refactor of Google Adapter * Update samples for Alexa / Google * Update Google Adapter Sample * Update Google adapter to send conversation update activity when user initiates conversation without intent. * Updated readme and sample to use latest preview * Fix image links in readme. * Another attempt to fix images * Further image link fix * Update README.md * Update README.md * Update README.md * Image extension case fix * Update README.md * Updated response content type * Update Startup.cs * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Update Google adapter with latest changes to mirror the Alexa adapter * Fix speak concat bug * Fix speak concat issue * Add first Alexa tests * Update README.md * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * Update attachment tests * Remove test for missing attachment properties. Attachments / directives have optional properties, so not all properties will always be present. * Fix tests failing with equality of ref types * Project file with additional NuGet dependency Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Updated the media files (#218) As Action SDK has been changed to Assistant SDK therefore I have updated them * Fixed typo & added .json to package file (#219) * Update Alexa sample to use latest preview package. Fix assembly name causing Azure deployment issue. Updated sample attachment config. * WIP on Google sync with current Alexa approach * Sync google with current alexa approach WIP * Further project factoring * Further refactoring. Split out conversations / dialogflow into separate request mappers. * Update to Google adapter WIP - addressing anonymous user id and removing attachment processing temporarily. * WIP * Significant updates to include Google specific attachment types for system intents and cards * Refactor RequestToActivity and add card / intent factories * Align DialogFlow mapper with Conversation Webhook - derive both from new abstract base class. * Implemented feedback following review * Updated Google Adapter Readme. Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> * Update README.md Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Fixed a small typo * Fix for Google validation which prevented a user from disabling checks (#253) * Further google request validation fix (#255) * Fix for Google validation which prevented a user from disabling checks * Further fix for Google request validation Co-authored-by: Jamie D <daltskin@hotmail.com> Co-authored-by: martinoss <ossmartin@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex ln <logalex96@gmail.com> Co-authored-by: Arafat Tehsin <arafattehsin@hotmail.com> Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Nick Ericson <nick.ericson@hotmail.com> Co-authored-by: Nick Ericson <nericson@microsoft.com> Co-authored-by: Michael Richardson <40401643+mdrichardson@users.noreply.github.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@gmail.com> Co-authored-by: Sébastien BIAUDET <sebastien.biaudet@sikim.fr> * Remove unnecessary try / catch * Release/06022020 (#268) * Master (#252) * Fix for Zoom adapter throwing on no channel ID (#245) * Adding RingCentral adapter (#215) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Adding sample RingCentral Adapter bot (#221) * Adding RingCentral adapter * Updating documentation #wip * Adding packaging details * Addressing warnings * Adding RingCentral Adapter sample and updating documentation * Fix up unit tests * Adding RingCentral reference to main doc * Fix up git ignore Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update README.md * Update README.md * Add GitHub link to profile (#223) * Updated sample package references. Added ring central sample. (#224) * Updated sample package references. Added ring central sample. * Update dotnet pack yaml config * Further update to dotnet pack yaml to fix no matching projects build pipeline error. * Bump Microsoft.AspNetCore.All in /samples/Form Flow Sample (#225) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Google Adapter Sample (#228) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/BestMatch Middleware Sample (#226) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump Microsoft.AspNetCore.All in /samples/Alexa Adapter Sample (#227) Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.1.1 to 2.1.4. - [Release notes](https://github.com/aspnet/Universe/releases) - [Changelog](https://github.com/aspnet/Universe/blob/master/docs/CrossRepoBreakingChanges.md) - [Commits](https://github.com/aspnet/Universe/compare/2.1.1...2.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update adaptor to use current elastic 7.x (#233) * Update adaptor to use current elastic 7.x * Update ElasticsearchStorage.cs * Ported the BestMatch Middleware Sample to MVC. (#200) Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Refactor of Alexa adapter (#179) * - Initial Alexa adapter refactor to adopt Alexa.Net - Moved towards deprecating the AlexaHttpAdapter (kept for backwards compat) * - Updated Directory Build Props to include StyleCop package - Enable warnings as errors for Alexa project * - Added attachment types for directives / cards etc. - Updated content extension methods to use Alexa.NET and attachments model - Updated some core adapter logic * - Added support for Directives - Updated logic to use attachments as opposed to TurnState - Further adapter logic updates * Update GitVersion tag for feature branches * - Moved method for stylecop * Update GitVersion to attempt to ensure package names are incremented correctly on each build. * Updated package dependencies for Alexa adapter * Updated Alexa Sample * Update readme for preview package * Amended middleware and adaper for skills support * Updates following PR feedback * Removed ContinueConversationAsync overload not available until SDK 4.7. Will be re-added later for skills support. * Add LaunchRequest -> ConversationUpdate logic to middleware as per @pavolum's idea. * Added message activity concat and suggested actions conversion to google adapter * Adding configurable flag which will inform the adapter if it should concat multiple text activities in one turn * minor clean up * removing google adapter changes, renaming functions, removing suggested action conversion * Remove unused option * - Some naming tweaks - Added policy for handling multiple outgoing activities. - Added ContinueConversationAsync method * Move multiple activity policy enum out of options class * Naming tweak for outgoing activity policy * Update docs and add automatic end of session when no outgoing activities are sent * Readme update * Change default concat policy. Update readme. * Changes following code review (#195) * Move the activities list to within the turn context * Update adapter to make activity processing method virtual and remove multiple activity policy. Improved concat logic. * Fix speak concat bug * Add first Alexa tests * Update README.md * Update Bot Builder NuGet references * Updates to Alexa Adapter to pull out core package with request / activity transform logic, attachment types and context extension methods. * Fix failing test * Updates to move middleware into adapter. Rename helper to AlexaRequestMapper * Further refinements of mapper * Update AlexaRequestMapperOptions.cs * Updates to mapper / options * Add Alexa Auth Handler. (#204) * Rename some methods on Alexa Mapper. Update NuGet packages to 4.8. * Rename auth handler class name * Removing old Alexa auth handler * Fix test project dependencies * Update Alexa Core project file * Amend pipeline to try and resolve dotnet pack issue * Remvoed and re-added Alexa projects to SLN * Attempt to address issue with GitVersion env vars no longer shared across pipeline tasks * Update pipeline * Update Auth Handler (#205) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Release/4.8.0 (#206) * Google Adapter: Google Content Type not set to UTF-8 * Alexa Adapter: Add person to alexasystem to support Alexa voiceprint to know the ID of the speaker (#198) - Thanks @jamesemann * TwitterAdapter: Added unit tests (#197) - Thanks @matiasroldan6 @santgr11 * DevOps: Azure DevOps Pipelines GitVersion issue * Dependencies: Update to Bot Framework SDK 4.8 * Fix bug with not handling built in StopIntent * Add virtual to auth methods (#209) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Add fallback support for Alexa request types => EventActivity * Add a simple markdown to plain text converter (#210) * Add Alexa Auth Handler. * Fix crazyness in merge. * again. * Add Alexa Skill Id validation check. * Tabs to spaces * Add a couple tests. * Separate skill id check. * Set ExpectReplies and add more tests. * Dont NRE when activities is null. * Make methods virutal for mocking * Add check for Request being null so we don't throw NRE on bad requests from Alexa. * Add simple markdown formatter Co-authored-by: Gary Pretty <gary@garypretty.co.uk> * Update attachment implementation (#213) * Update attachment implementation to align with BF SDK and work correctly with ABS. * Added tests for new attachment implementation * Moved text normalization logic earlier and amended markdown handling (#212) * Moved logic for text normalization earlier in the pipeline into the MergeActivities method. * Modified markdown renderer to use period instead of new line. Amended list rendering. Added tests. Changed default to markdown. * Convert Alexa attachment types to their strong type if needed. (#214) * Update utility naming to helpers (aligns with SDK / other adapters). (#216) * Merge attachments in activities so they are available in the last message (#217) * Merge attachments in activities so they are available in the last message. * Fix attachments. * Fix for attachment null property handling * U…
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.
Basically removes the markdown - replacing parts with newlines as needed. The newlines are interpreted by Alexa a pauses when speaking.
Not done: integrate into the merging logic. If the bot sends activities of different types (plaintext and md) they will get all mixed up. Need to come up with what to do in that case.