Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Muthuveer Somanathan da8348a7b4
Streaming Library Refactor (#5908) 2021-10-14 21:59:07 -07:00
zeye acc79a5f62
uischema: add missing ui options (#5501)
* add missing 'menu' uischema

* fix #7034: add 'menu' options for missing $kinds

* fix #7035: enable 'OnContinueConversation'

* fix type

* run UT & update test uischema
2021-07-19 09:46:22 -07:00
Andy Brown 7d2bb5ce61
use correct header schema for BeginSkill (#5767)
* use correct header schema for BeginSkill

* Update tests.uischema

Co-authored-by: Monica Rivera <moniriv@microsoft.com>
2021-07-08 10:37:25 -07:00
Eric Dahlvang 009f92492f
Remove Teams adaptive package (#5450)
* Remove Teams adaptive package

* Fix tests.schema
2021-04-09 13:30:09 -07:00
Carlos Castro 8f0921d4a7
Adapters: Add components and schemas for Facebook, Slack, Twilio and Webex (#5385)
* Adapters: Add components and schemas for Facebook, Slack, Twilio and Webex

* Adapters: fix bug in schema nad style in slack adapter

* Fix schema merge tests
2021-03-29 14:33:49 -07:00
Eric Dahlvang a586dd3293
Add Command and CommandResult activity types (#5318)
* Add Command and CommandResult activity types

* Fix command and command result tests

* CommandResultValue and CommandValue to generic

* Add adaptive OnCommandActivity and OnCommandResultActivity

* test.schema updates

* Re-create tests.schema
2021-03-24 12:13:11 -04:00
Tom Laird-McConnell e7240a7b53
Change ChoiceSet to support LG (#5309)
* Make ChoiceSet  implement ITemplate<ChoiceSet>
Fix ExpressionProperty Throw in Try method that shouldn 't throw
Updated ConfirmInput and ChoiceInput to use ITemplate>.BindData() if expression is template reference.
Added unit tests

* update schema

* fix schema definition for choices
2021-03-12 13:10:42 -08:00
Michael Richardson 58124dbf81
sync Teams Adaptive tests w/ JS (#5219)
* sync tests w/ JS

* update schema

* schema update

* rename schema files

Co-authored-by: Michael Richardson <v-micric@microsoft.com>
2021-02-16 08:55:39 -08:00
Eric Dahlvang 180eaa97bb
Teams AC Tabs adaptive responses (#5185)
* Teams AC Tabs adaptive responses

* Add BaseAuthResponseDialog with UserTokenClient support

* Update Microsoft.Bot.Builder.Dialogs.Adaptive.Teams.csproj

* SendAsync spelling

* Address feedback

* update schema merge test results

* address feedback

* Remove more 'this'

* Remove extra '== true'

* remove new line from .csproj

* Remove new line (attempt two)

* Exclude failing teams tests from SchemaMergeTests

* Exclude more schema tests

* Exclude more tests from SchemaMergeTests

* Update OAuthHelper.CreateTokenResponseFromMessageAsync

* Revert changes to OAuthHelper

* Shorten some Teams dialog names

* Expression spelling
2021-02-12 18:43:21 -08:00
Eric Dahlvang 93290fa0f8
Teams: adaptive actions (#4782)
* Rebasing Teams GetParticipant

* remove meeting parameter from TeamsChannelData

* Add inMeeting to TeamsParticipantChannelAccount

* Add Send Task Module Continue and Message adaptive responses

* add some comments

* Add more teams actions

* Fix copy/paste 'url' issue

* Cleanup SendMessagingExtensionActionResponse

* Add CacheInfo base class for InvokeResponses

* Add GetMember and some schema files

* Continue response updates

* Schema updates

* Add actions for TeamsInfo methods

* updaete schema and uischema

* Cleanup teams responses and schema files

* More teams adaptive schema cleanup

* New teams actions and some cleanup

* More Teams adaptive additions and cleanup

* schema updates

* Revert TeamsInfo app credentials breaking change

* Rebasing Teams GetParticipant

* remove meeting parameter from TeamsChannelData

* Add inMeeting to TeamsParticipantChannelAccount

* Add Send Task Module Continue and Message adaptive responses

* add some comments

* Add more teams actions

* Fix copy/paste 'url' issue

* Cleanup SendMessagingExtensionActionResponse

* Add CacheInfo base class for InvokeResponses

* Add GetMember and some schema files

* Continue response updates

* Schema updates

* Add actions for TeamsInfo methods

* updaete schema and uischema

* Cleanup teams responses and schema files

* More teams adaptive schema cleanup

* New teams actions and some cleanup

* More Teams adaptive additions and cleanup

* schema updates

* Revert TeamsInfo app credentials breaking change

* Lowerase teams enums

* schema updates

* Change 'activity' to 'card' where appropriate

* Add Michael Richardsons Teams Actions tests

* Teams ActionTests

* cleanup adaptive teams tests

* sync tests w/ @mdrichardson branch

* fix schema errors

* check for missing Card

* Some cleanup and code consolidation

* Update ExpressionExtensions.cs

* Review feedback

* Fix Teams trigger and action namespaces

* schema updates

Co-authored-by: Michael Richardson <v-micric@microsoft.com>
2021-02-01 16:56:20 -08:00
zeye 0c0e5e0d7e
uischema: port composer ui schema 'flow' part to component schema files (#5099)
* add 'flow' options

* add new uischema files with 'flow' schema

* stage the output of schema merge
2021-01-27 18:14:50 -08:00
Chris McConnell bccc8ed290
Add .uischema for OnChooseEntity. (#5018)
Co-authored-by: Chris McConnell <chrimc>
2020-12-02 13:53:01 -08:00
Chris McConnell f3f3e5b23a
Add min/max for turn count. (#4945)
Update test schemas.

Co-authored-by: Chris McConnell <chrimc>
2020-11-18 10:27:21 -08:00
Eric Dahlvang 4a8eb705bb
Update tests.schema and tests.uischema (#4834) 2020-10-21 14:00:18 -07:00
Hongyang Du (hond) cfd1e9c6e6
Make languagePolicy configurable in TestScript (#4794)
* change the appsetting parse logic

* typo

* refine

* add test

* add more tests

* add more comments

* refine code

* retrigger

* retrigger

* Make languagePolicy a property

* revert

* update schema

* update schema

* update schema

* update schema

* update schema

* update schema
2020-10-20 20:21:46 -07:00
Tom Laird-McConnell 9ed1ab39c5
Thread dialogcontext/activity through LuisRecognizer so it can be passed to ExternalEntityRecognizer (#4811)
* Recognizers in Adaptive use DialogContext and Activity (to allow reevaluation of activities after amiguity resolution.)  To adapt to that LuisAdaptiveRecognizer would create a temp turncontext to have the activity in it. The right way to do this is to actually thread the DialogContext/activity through to the luisrecognizer class...

For ExternalEntityRecognizer to work it needs the dc/activity to pass to the external recognizer, so it was time to replace the legacy code with code that threads the dc/activity down to the luis recognizer.

Unit tests for adaptive already go through this path, so no new unit tests are required.

* change to activity?.text as per rest of code.

* add tests.sschema back in

* generated by running all tests local

* change batch file to trigger new build
2020-10-17 17:49:47 -07:00
Eric Dahlvang 3f2fe39940
Teams GetParticipant (#4770)
* Teams GetParticipant

* GetParticipantAsync to GetMeetingParticipantAsync

* Add GetMeetingParticipant action

* Add GetMeetingParticipant to TeamsComponentRegistration

* build errors

* remove meeting parameter from TeamsChannelData

* address Tom's feedback

* Add inMeeting to TeamsParticipantChannelAccount

* Add tests for GetMeetingParticipant. (also update TestUtils to enable a custom HttpMessageHandler for connector client call results)

* tests.schema file

* some cleanup

* Feedback and some cleanup
2020-10-16 17:26:05 -07:00
Chris McConnell 3f4a07d2ce
Add AssertNoActivity (#4785)
* Initial check-in of default op improvements.  Need to write tests.

* Clean-up logic and prefer default operations.

* Add tests for default operation preference.

* Add description to memory assetion error.
For Chris

* Add AssertNoActivity.

* Remove timeout from schema.

* Fix bug in testscript.
2020-10-14 12:00:47 -07:00
Monica Rivera 7ce753ef88
Update tests.schema with changes to Microsoft.ContinueConversationLater. (#4769) 2020-10-08 16:25:59 -07:00
Chris McConnell b62c994f7b Update schemas 2020-09-25 21:47:56 -07:00
Fei Chen 9ab0460e3b
Add ThrowException action to pass exception out for string error message (#4656)
* add ThrowException action

* update test schema

* refactoring to throw wrapped exception directly

* update schema
2020-09-23 22:56:18 -07:00
Fei Chen 31af94b55b
Add OnInstallationUpdateActivity in adaptive trigger conditions (#4629)
* add OnInstallationUpdateActivity and related tests

* adjust comments

* add schema for InstallationUpdate activity

* update test.schema

* update schema
2020-09-18 22:34:33 -07:00
Chris McConnell 9bbeb51423
Fix retries and extend testing (#4665)
* Retries should be removed when property is set since there is no active Ask query.

* Intermediate check-in for Zongyang.

* Add unit tests for Ask retries.

* Remove old property mocking.
Add SetProperties/MemoryAssertions to set/check memory.  Implemented as events handled by dialog wrapper.
Simplified Luis mocking when doing pure mocks.
Cleaned up test code.
Added tests for Asks and $retries and ensured all memory changes removed $retries.

* Working version with inspector.

* Enable access to language generation functions.

* Fix issues from main merge switch to xunit.

* Simplify project file.

* Address review feedback.
2020-09-17 15:34:37 -07:00
Chris McConnell e8794dd74e
Enable schema tests. (Although needed to filter out one test which is valid but fails validation.) (#4474)
Switch to public schema references.
2020-08-19 11:32:07 -07:00