Matias Roldan
c5d2be4754
Facebook adapter/add handover feature
...
* Add Facebook handover feature
2019-11-04 16:48:26 -03:00
Hongyang Du (hond)
c20ac4ce0e
support empty param in lg template ( #2855 )
2019-10-25 15:11:04 +08:00
Daniel Evans
1ff28118b2
Merge pull request #2835 from microsoft/dev/functional-test-assets
...
[Streaming] Add wav file for DirectLine Speech functional test.
2019-10-24 19:17:18 -07:00
Daniel Evans
e5a1f21d01
Add a dot.
2019-10-24 18:32:01 -07:00
Fei Chen
3fdbd7175a
Merge pull request #2843 from microsoft/feich/supportStructuredLgInExpander
...
support to expand structured lg
2019-10-25 09:29:39 +08:00
Fei Chen
5547af3054
add comments
2019-10-25 09:12:56 +08:00
Daniel Evans
d0a65328d1
Fix formatting of expectation
2019-10-24 18:08:35 -07:00
Daniel Evans
01294e7e04
Remove pointless test, update useful test, add OS check.
2019-10-24 17:11:57 -07:00
Daniel Evans
bacedafc80
Merge branch 'master' into dev/functional-test-assets
2019-10-24 16:40:36 -07:00
stgum
d5f92c7ef0
fix SendDirectLineSpeechVoiceMessage test
2019-10-24 15:57:58 -07:00
Tom Laird-McConnell
6c15124c2a
Merge pull request #2850 from microsoft/tomlm/fixluisref
...
fix luis ref case
2019-10-24 14:22:02 -07:00
Tom Laird-McConnell
c72f3b9dd3
fix luis ref case
2019-10-24 14:05:22 -07:00
Tom Laird-McConnell
5cee5f7031
Merge pull request #2849 from microsoft/tomlm/fixturn
...
Refactor MemoryScopes to be self-contained
2019-10-24 13:43:08 -07:00
Tom Laird-McConnell
7c6961f53f
fix snapshot to use snapshotflag
...
changed turn memoryscope to be sub property so we don't try to serialize random objects in TurnState
2019-10-24 13:27:20 -07:00
Tom Laird-McConnell
a50964b4a1
IsReadOnly isn't what we were using the flag for
...
It really was controlling whether or not to include the data in the snapshot memory.
2019-10-24 13:18:01 -07:00
Tom Laird-McConnell
961601e3ee
changed turnMemoryScope to be just turnContext.TurnState
2019-10-24 12:53:51 -07:00
Tom Laird-McConnell
c14e7880d6
MemoryScopes were being initialized by external DM, which is not optimal
...
* it makes it harder to add new scopes
* it adds a hard dependency on the implementation of User and Converation scopes
This delta adds unit test for the issue, but implements BotStateMemoryScope with User and Conversation versions of it which are self contained.
User and Conversation state were being copied into the TurnState, but there was no real reason to do this.
Turn memory scope was always being intialized even if it was already there.
This cleanup allows for
* more BotState based scopes to be easily added (such as Tenant, etc)
* Better encapsulation
* Ability for customers to replace memory scopes (such as User and Conversation) with their own implementations.
To test this I needed to update the DialogStateMemory tests to properly create a DialogContext for executing within, as the UserState/ConversationState memory scopes need actualy UserState and ConversationState accessible off of the turn context.
2019-10-24 12:42:32 -07:00
Chris Mullins
8524c04f71
Merge pull request #2847 from microsoft/gary/fix-signed-slack-tests-release
...
Updated signed assembly condition in SlackHelper to fix typo
2019-10-24 12:32:25 -07:00
Gary Pretty
4c6a11ac32
Updated signed assembly condition in SlackHelper to fix typo pointing to the wrong tests lib
2019-10-24 20:29:42 +01:00
Gabo Gilabert
e1fa19c1dd
Adds support for OAuthCards for skills ( #2844 )
...
* Adds support for OAuthCards for skills.
Added null check for channelData for teams TenentId middleware
* Removed obsolite doc parameters and comments.
* Added check for missing appId in the audience claim.
* Added test for channelData check
* Updated code to concat conversationId only for emulator
2019-10-24 11:53:45 -07:00
Daniel Evans
c035502b15
Update TestBot for use with DirectLine Speech
2019-10-24 10:14:38 -07:00
Tom Laird-McConnell
61dd404562
Merge pull request #2840 from microsoft/tomlm/valueprop
...
update schema for value property on InputDialogs
2019-10-24 09:48:42 -07:00
Tom Laird-McConnell
5ceef7438d
Merge pull request #2839 from microsoft/tomlm/recognized
...
Add turn.activityProcessed to input dialogs
2019-10-24 09:46:21 -07:00
Fei Chen
42ae81a5e4
rename some variables
2019-10-24 19:30:00 +08:00
Fei Chen
7c8a83b692
remove unused comments
2019-10-24 19:24:25 +08:00
Fei Chen
373c39f1be
support to expand structured lg
2019-10-24 19:14:58 +08:00
Hongyang Du (hond)
b60ee9b28a
Add multi language support in LG import ( #2800 )
...
* add multilang in import
* add cn language
* update
* remove unused code
* fix version
* finish multilang feature
* make some renaming
* renaming
2019-10-24 18:26:36 +08:00
Carlos Castro
5bde016d1b
Merge pull request #2838 from microsoft/ccastro/remove-protected
...
Project wide code cleanup: Fix all SA1401 occurrences + copyright header consistency
2019-10-24 01:39:22 -07:00
Carlos Castro
9cc49c7682
Cleanup: fix tests
2019-10-24 01:23:07 -07:00
Carlos Castro
65fb940c4f
Merge master -> ccastro/remove-protected
2019-10-24 01:02:34 -07:00
Hongyang Du (hond)
78b9782be4
remove and sort using ( #2841 )
2019-10-24 15:44:13 +08:00
Carlos Castro
fb1c5a997c
Code cleanup: build fixes after merge
2019-10-24 00:36:16 -07:00
Tom Laird-McConnell
a634fc9942
update schema for value
2019-10-23 23:49:50 -07:00
Carlos Castro
79fabfd3ac
Merge branch 'master' into ccastro/remove-protected
2019-10-23 23:44:35 -07:00
Tom Laird-McConnell
346262071d
update test
2019-10-23 23:43:52 -07:00
Carlos Castro
330c673d3d
Project wide code cleanup: Fix all SA1401 occurrences + copyright header consistency
2019-10-23 23:38:55 -07:00
Tom Laird-McConnell
3600e90ce5
Add turn.activityProcessed to input dialogs
2019-10-23 23:30:21 -07:00
Carlos Castro
66b5518642
Merge pull request #2799 from microsoft/dev/streaming-token
...
[Streaming] Add bot token to api/version endpoint response for parity with JS
2019-10-23 19:48:11 -07:00
Hongyang Du (hond)
34637f1c09
support whitespace after right square bracket in structured lg ( #2837 )
2019-10-24 10:04:16 +08:00
Daniel Evans
abb6724431
Undo weird proj change.
2019-10-23 17:08:23 -07:00
Daniel Evans
647a847ed3
Set known values and make path OS friendly.
2019-10-23 17:02:06 -07:00
Daniel Evans
e986bc02dd
Add catch around new token fetch code
2019-10-23 16:19:02 -07:00
Tom Laird-McConnell
915c7e0980
Merge pull request #2834 from microsoft/tomlm/fixConversationState
...
DM should be using ConversationState/UserState directly
2019-10-23 16:10:07 -07:00
Chris Mullins
4d7579cd8b
Merge pull request #2828 from microsoft/gary/fb-slack-csproj
...
Fix adapter csproj files
2019-10-23 15:56:29 -07:00
Daniel Evans
f613169bc1
Refactor token call
2019-10-23 15:54:41 -07:00
Daniel Evans
8682f19ad1
Remove reconnection
2019-10-23 15:52:28 -07:00
Tom Laird-McConnell
c64adf4d3b
DM should be using ConversationState/UserState directly instead of doing own storage.
...
* removed custom storage
* removed RunAsync() (not clear we need yet)
* added unt tests
** OnError Conversation.ClearState() works)
** Expiration works
* Cleaned up UseState()
2019-10-23 15:50:58 -07:00
Daniel Evans
8ca31385bf
Fix test regex
2019-10-23 14:31:55 -07:00
Daniel Evans
f744afeaaf
Add wav file to test assets
2019-10-23 14:29:58 -07:00
Daniel Evans
661546707f
Add regex options and timeout.
2019-10-23 14:03:38 -07:00