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

2794 Коммитов

Автор SHA1 Сообщение Дата
Michael Richardson e0dd24bcf7 add missing await to FileTranscriptStore test 2020-07-13 11:22:07 -07:00
Michael Richardson 8f93de619a preload templatesParseTree.test.js files 2020-07-13 10:35:18 -07:00
Michael Richardson b901402ee5 preload MultilanguageLGTest.js files 2020-07-13 10:34:04 -07:00
Michael Richardson ebc899b343 preload files in lgDiagnostic.test.js 2020-07-13 10:33:54 -07:00
Michael Richardson 01db6378cb preload lg.test.js files 2020-07-13 10:06:44 -07:00
Michael Richardson cc0814cca3 test all packages 2020-07-10 15:53:49 -07:00
Michael Richardson b4bad0a9e3 preloaded files 2020-07-10 15:35:47 -07:00
Michael Richardson d79b10b399
add readableFlowing property to INodeSocket (#2515) 2020-07-10 13:17:50 -07:00
Hongyang Du (hond) da9f96017d
[PORT]Refine ActivityFactory (#2481)
* init

* refine code

* retrigger

* retrigger

* refine

* fix comments
2020-07-10 13:34:39 +08:00
Michael Richardson 4fad99e3ab
Fixes CosmosDbPartitionedStorage Tests (#2511)
* no-op changes

* fixed tests and updated recordings

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-07-09 21:46:56 -07:00
Zichuan Ma 543c66cec9
Added Microsoft.Ask (#2507)
* Added Microsoft.Ask

* fixed typo
2020-07-10 09:39:46 +08:00
Zichuan Ma 4ee8b03b84
Updated Dialog Manager to work with skills (#2343)
* updated dialog manager to support skills

* reordered properties of dialog manager

* make dialog manager's dialogs property public

* added tests for dialog manager

* code style change

* added test to get/set root dialog of dialog manager

* move sendStateSnapshotTrace() to dialog manager

* added test for state trace in dialog manager

* added skill extensions to inject skill client and conversation id factory

* updated test of beginSkill to use extensions

* use static functions instead of extensions

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-07-09 13:22:00 -07:00
Denise Scollo fd3e25fcab
Add unit tests for botFrameworkHttpClient class (#2485)
Co-authored-by: Cecilia Avila <cecilia.avila@southworks.com>
Co-authored-by: Cecilia Avila <44245136+ceciliaavila@users.noreply.github.com>
2020-07-08 17:14:27 -07:00
Denise Scollo dd4d5e62c7
Increase code coverage in botbuilder library - StatusCodeError class (#2494)
* Add statusCodeError unit tests

* Encapsulate tests in constructor()

Co-authored-by: Joel Mut <62260472+sw-joelmut@users.noreply.github.com>
Co-authored-by: Cecilia Avila <44245136+ceciliaavila@users.noreply.github.com>
2020-07-08 11:44:18 -07:00
mrestorff 9c567278d5
convert comments on Dialog.onDIalogEvent() to TSDoc (#2462)
Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-07-08 10:37:17 -07:00
Denise Scollo f26bc8a93b
Fix TeamsActivityHandler to capture errors properly (#2483)
Co-authored-by: Joel Mut <62260472+sw-joelmut@users.noreply.github.com>
Co-authored-by: Cecilia Avila <44245136+ceciliaavila@users.noreply.github.com>
2020-07-07 22:54:40 -07:00
BruceHaley c39c7744ea
Create pipeline BotBuilder-JS-CI-node12-yaml (#2487)
* Add .yml file

* Fix yaml

* Add stages

* Add stages

* Fix line 11

* Fix stage names

* Rename Analyze

* Rename stages

* Eliminate unnecessary stages

* Set up 2 jobs only

* ubuntu

* macOS-10.15

* macOS-latest

* macOS-10.14

* add npm install

* Without npm install

* Without Note 10.x

* With Noge 10.x

* install @typescript-eslint/eslint-plugin

* Add install typescript @typescript-eslint/parser

* install eslint etcetera

* Add stages

* Parallel stages

* Normalize

* Syntax fix

* Add node12 pipeline

* Fix node version in analysis steps

* Fix node version 2

* Try NodeVersion 10 in build node12

* Switch NodeVersion back to 12.

* Fix comment

* Fix line spacing

* Drop log env vars
2020-07-07 10:42:23 -07:00
Zichuan Ma 27a5b29665
Updated OAuthInput to be on parity with dotnet sdk (#2349)
* updated oauth input to be on parity with dotnet

* OAuthInput: create partity with OAuthPrompt

* fix #2396

Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
2020-07-07 10:16:58 +08:00
BruceHaley 60c116c258
Create pipeline BotBuilder-Js-CI-yaml (#2482)
* Add .yml file

* Fix yaml

* Add stages

* Add stages

* Fix line 11

* Fix stage names

* Rename Analyze

* Rename stages

* Eliminate unnecessary stages

* Set up 2 jobs only

* ubuntu

* macOS-10.15

* macOS-latest

* macOS-10.14

* add npm install

* Without npm install

* Without Note 10.x

* With Noge 10.x

* install @typescript-eslint/eslint-plugin

* Add install typescript @typescript-eslint/parser

* install eslint etcetera

* Add stages

* Parallel stages

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-07-06 15:11:17 -07:00
Steven Gum e29d229e3b
add directlinespeech support to prompts (#2479)
* add directlinespeech support to prompts

* re-order imports in choices_channel.test.js

Co-authored-by: Chris Mullins <cleemullins@users.noreply.github.com>
2020-07-06 12:10:20 -07:00
mrestorff bc9aa282ff
modify TelemtryConstants to use static properties (#2251)
Co-authored-by: Malte Restorff <malte.restorff@beiersdorf.com>
Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-07-03 15:24:00 -07:00
Kyle Delaney ae290890ea
Fix erroneous Async suffix in some comments, error messages, etc. (#2476)
* Fix erroneous Async suffix in some comments, error messages, etc.

* Update libraries/botframework-connector/src/connectorApi/operations/conversations.ts

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-07-03 15:06:33 -07:00
Shuai Wang db6d82017f
[Expression] Remove dependency of Moment type in public methods (#2232)
* remove dependency of Moment in public methods

* change this to ExpressionFunctions

* remove redundent import

* remove extra parsetimestamp

* fix some issues

* use date replace moment in some functions

* fix

* refine code

* retrigger

Co-authored-by: hond <hond@microsoft.com>
2020-07-03 15:19:12 +08:00
Zichuan Ma 5a0050762f
Make ValueRcognizer internal (#2347)
* make ValueRecognizer internal

* removed reference to ValueRecognizer in tests

* qnaMaker's entity instance properties should be array

* fixed recognizer set to merge all recognized properties from each child recognizer
2020-07-02 18:07:58 +08:00
Eric Dahlvang e389d6f870
Unionize TaskModuleResponse.task type definition (#2446)
* Unionize TaskModuleResponse.task type definition

* update MessagingExtensionActionResponse.task type
2020-07-01 15:28:16 -07:00
Eric Dahlvang 1cabb54b7f
Make ConnectorClientOptions.baseUri optional (#2447)
* Make ConnectorClientOptions.baseUri optional

* Add comment explaining optional baseUri
2020-07-01 13:56:38 -07:00
Zhaojie Song a1d5d33a7f
Fix issue2099 (#2397)
* create base class; move logic to base class; create CancelDialog

* add comments

* change name from 'cancelDialogs' to 'cancelDialog'

* change class BaseCancelAllDialogs to CancelAllDialogsBase

* add unit test: cancelDialog

* add comments

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-07-01 12:33:25 -07:00
Eric Dahlvang 6fbbbbb0da
Open id metadata cache refresh if key is missing (#2466)
* openIdMetadata cache updates and tests

* revert whitespace change

* copyright header for openIdMetadata.test.js
2020-07-01 11:17:18 -07:00
mrestorff c4488ce8e9
Move TelemetryClient property to DialogContainer (#2463) 2020-07-01 10:40:58 -07:00
Zhaojie Song 3f0565630f
add allowLoop to repeat dialog and test (#2461)
Co-authored-by: Zichuan Ma <zim@microsoft.com>
2020-07-01 16:44:12 +08:00
Eric Dahlvang 91c414a2ed
Ensure fields from recent PRs fully implemented (#2445) 2020-06-30 16:13:40 -07:00
mrestorff bb60511f36
fix LowScoreVariation and add return types (#2266)
Co-authored-by: Malte Restorff <malte.restorff@beiersdorf.com>
Co-authored-by: Hongyang Du (hond) <hond@microsoft.com>
Co-authored-by: tracyboehrer <tracyboehrer@users.noreply.github.com>
Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-06-30 15:36:27 -07:00
Eric Dahlvang 8b1b900a11
Fix browser build yaml (#2458)
* Use BuildId for azure resources

* delete correct resource group
2020-06-30 15:25:31 -07:00
Eric Dahlvang 041decfdf9
Add imageAltText to CardAction (#2456) 2020-06-30 13:38:15 -07:00
Erik Tetland 208c41ce87
Fix renaming of Task Response type (#2369)
#1789 incorrectly changed `Type2` to `BotMessagePreviewActionType` instead of `BotMessagePreviewType`

Co-authored-by: Eric Dahlvang <EricDahlvang@gmail.com>
2020-06-30 13:04:58 -07:00
Hongyang Du (hond) 18a2191f51
[PORT]Extend 'getProperty' builtin function to support accessing top memory (#2437) 2020-06-30 09:55:26 +08:00
Hongyang Du (hond) d305b0b3a6
[PORT] Further improve LG's performance (#2409)
* init

* init

* update

* init

* fix errors

* fix comments

* renaming

* typo
2020-06-30 09:38:20 +08:00
Denise Scollo 1c71e4041f
Added linkToMessage attribute to the MessageActionsPayload interface (#2400)
Co-authored-by: Joel Mut <62260472+sw-joelmut@users.noreply.github.com>
2020-06-29 10:52:43 -07:00
mrestorff 60ff913ea0
port C# doc in QnaMakerDialog (#2252)
Co-authored-by: Malte Restorff <malte.restorff@beiersdorf.com>
Co-authored-by: Hongyang Du (hond) <hond@microsoft.com>
Co-authored-by: vipeketi <58211229+vipeketi@users.noreply.github.com>
Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
Co-authored-by: Gary Pretty <gary@garypretty.co.uk>
2020-06-25 10:48:55 +01:00
Gary Pretty 63e9651a73
Updated readme (#2408) 2020-06-24 10:01:48 -07:00
Shuai Wang a57fecfe3c
[Expression] Add merge prebuilt function for merging JSON object (#2361)
* init

* add tests

* fix format problems and a test case

* remove some lines

* remove redundent undefined value assign

* retrigger
2020-06-23 10:13:20 +08:00
Eric Dahlvang a7e4f82206
Add aadGroupId to TeamInfo (#2370)
* Add aadGroupId to TeamInfo

* add new line at end of teamsActivityHelper.ts

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-06-21 23:20:00 -07:00
Hongyang Du (hond) 804ade0616
[PORT]Add expandText LG function (#2387)
* init

* init
2020-06-22 11:56:56 +08:00
Hongyang Du (hond) c86fe82cfb
[PORT][Expression]Enable list concatenation for function "concat" (#2386)
* add list support for function concat

* remove unchanged file
2020-06-22 11:45:04 +08:00
Shuai Wang f231a575f7
[Port][Expression] Floor, Ceiling, Round, TicksToDays,TicksToHours, TicksToSeconds, DateTimeDiff pre-built functions (#2371)
* port functions and tests

* remove extra klines

* retrigger

* retrigger
2020-06-18 15:02:35 +08:00
Zhaojie Song b33d824a4c
set recognized properties even if interruption is off (#2360)
* set recognized properties even if interruption is off

* bug fix: DialogPath.lastEvent -> DialogPath.lastIntent

Co-authored-by: Zichuan Ma <zim@microsoft.com>
2020-06-18 13:26:25 +08:00
Zhaojie Song dec90b58bc
Drop OnCustomEvent, it's a duplicate of OnDialogEvent (#2350)
Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-06-17 18:33:21 +08:00
Fei Chen 30e5d595ca
[PORT] fix empty array and strict mode issue in expand (#2362)
* port #4044: fix corner case of expander

* port 4057: fix strict mode issue in expander
2020-06-16 18:26:28 +08:00
Hongyang Du (hond) 1af14c9ff6
[PORT]Add configuration for default languagePolicy (#2348)
* init

* init

* add features

* renaming

* remove default locale
2020-06-16 15:49:18 +08:00
Hongyang Du (hond) e2177f4fec
[PORT][Expression]Add lambda syntactic sugar (#2328)
* add lambda syntactic sugar

* retrigger ci
2020-06-16 14:45:08 +08:00