Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
32b443e
improved handling of LUIS response
johnataylor Jun 11, 2019
55003c2
Remove CreateReply (use MessageFactory)
Jun 15, 2019
4bb4b77
Refactored code to make it easier to test.
gabog Jun 20, 2019
9448b64
Renamed file to match class name
gabog Jun 20, 2019
a9d9951
Merge branch 'master' into corebot-updates
gabog Jun 20, 2019
63b3cba
Updated comments.
gabog Jun 20, 2019
dd19904
Updated MessageFactory.Text creation to use new sequence and made it …
gabog Jun 25, 2019
8dcaafc
Gabog/corebot updates with unit tests (#1590)
gabog Jun 25, 2019
3b9ac58
Fixes 1558 - corebot should work in gov cloud (#1602)
Jun 27, 2019
a901e4e
Update CoreBot .NET Template
sgellock Jun 28, 2019
659ba23
Merge branch 'corebot-updates' into eric/removeCreateReplyCoreBot
EricDahlvang Jul 1, 2019
b931b81
Merge pull request #1576 from microsoft/eric/removeCreateReplyCoreBot
johnataylor Jul 1, 2019
d3e5aa8
Remove ConfigurationCredentialProvider and DialogExtensions from CoreBot
Jul 1, 2019
a9a775b
Merge pull request #1615 from microsoft/eric/cleanupCoreBot
johnataylor Jul 1, 2019
b462c17
Merged latest from master and resolved conflicts.
gabog Jul 3, 2019
678b2d5
Removed unused using directive
gabog Jul 3, 2019
d124243
Updated CoreBot.Tests to use the latest Testing package and fixed iss…
gabog Jul 3, 2019
6faa01b
Gabog/corebot updates/js updates with tests (#1628)
gabog Jul 8, 2019
343832e
Removed images (they've been moved to docs.microsoft.com)
gabog Jul 9, 2019
81ab6b3
Fixed broken link.
gabog Jul 9, 2019
f1227bd
Updated JS readme.
gabog Jul 9, 2019
d8be8a5
Fixed links
gabog Jul 9, 2019
d0b3d00
Update README.md
gabog Jul 9, 2019
8eda78f
Update README.md
gabog Jul 9, 2019
75cea62
updated middleware array to be of type IMiddleware
gabog Jul 9, 2019
9ab0c8a
re-remove logger, various cleanup
stevengum Jul 9, 2019
58639e7
fix remaining eslint errors in core-bot
stevengum Jul 9, 2019
041469b
remove at-mention code, cleanup config for LUIS
stevengum Jul 10, 2019
4ec4151
remove extra dep, use getter in flightBookingRecognizer
stevengum Jul 10, 2019
13411c6
cleanup mainDialog and its tests in JS core-bot
stevengum Jul 11, 2019
aaf8235
update dependencies, fix npm audit report
stevengum Jul 11, 2019
6626cbd
Updated links to doc (temporarily until we get the aka.ms ones)
gabog Jul 12, 2019
1ccd44d
Merge branch 'corebot-updates' of https://github.com/Microsoft/BotBui…
gabog Jul 12, 2019
db84982
Updated links to packages and docs.
gabog Jul 15, 2019
124d32b
Updated link test
gabog Jul 15, 2019
38de2e0
Cleanup corebot and corebot-test
sgellock Jul 16, 2019
0e00dd4
Merge branch 'corebot-updates' of https://github.com/Microsoft/BotBui…
sgellock Jul 16, 2019
90d252a
Updated project to reference Microsoft.AspNetCore.App instead of indi…
gabog Jul 16, 2019
52527d2
Update CoreBot .NET Template
sgellock Jul 16, 2019
21f8073
Merge branch 'corebot-updates' of https://github.com/Microsoft/BotBui…
sgellock Jul 16, 2019
75b395e
Update link to test docs
sgellock Jul 16, 2019
e1eee0e
.NET Template for CoreBot updates
sgellock Jul 16, 2019
4e601b3
Updated LUIS setup wording
gabog Jul 16, 2019
b0cf5e3
.NET CoreBot Template default.html cleanup
sgellock Jul 16, 2019
5641652
Merge branch 'corebot-updates' of https://github.com/Microsoft/BotBui…
sgellock Jul 16, 2019
78a9d4b
Corebot ts updates (#1648)
stevengum Jul 16, 2019
d647e62
Updated MainDialog on all 3 languages to use the initialdialogID in t…
gabog Jul 16, 2019
3f6cffc
Updated projects to point to 4.5.1
gabog Jul 17, 2019
d86b770
Updated generators tests to pass with 4.5.1
gabog Jul 17, 2019
3efd782
Merge branch 'master' of https://github.com/Microsoft/BotBuilder-Samp…
sgellock Jul 19, 2019
386d964
Merge branch 'corebot-updates' of https://github.com/Microsoft/BotBui…
sgellock Jul 19, 2019
e27d95f
corebot yeaoman updates
sgellock Jul 19, 2019
e776edd
pickup C# Core Bot feedback, update dependencies in dotnetcore
stevengum Jul 19, 2019
c4c64a2
bug fixes, update to latest lint rules
sgellock Jul 19, 2019
9addef0
Merge branch 'corebot-updates' of https://github.com/Microsoft/BotBui…
sgellock Jul 19, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
# JS/ TS/ es6 env files
/*/*.env

# Ignore output from nyc
/**/.nyc_output

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

Expand Down
27 changes: 2 additions & 25 deletions experimental/common-expression-language/prebuilt-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ or you can browse the functions based on [alphabetical order](#alphabetical-list
|[getProperty](#getProperty) | Return the value of the given property in a JSON object. |
|[coalesce](#coalesce) | Return the first non-null value from one or more parameters. |
|[xPath](#xPath) | Check XML for nodes or values that match an XPath(XML Path Language) expression, and return the matching nodes or values. |
|[setPathToValue](#setPathToValue) | Ensure a path in memory exists and set the leaf to a value. |

### Regex functions
|Function |Explanation|
Expand Down Expand Up @@ -2618,30 +2617,7 @@ replace('the old string', 'old', 'new')

And returns this result: `"the new string"`

<a name="setPathToValue"></a>

### setPathToValue

Ensure a path in memory exists and set the leaf to the supplied value. Paths can start with shortcuts and can include named property references or computed references using []. If part of the path is missing for a named reference or index, an object or array is added. An existing object or array will be used if it matches the path, otherwise a new object or array of the minimum size will overwrite the existing value.

```
setPathToValue(<path>, <value>)
```

| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| <*path*> | Yes | PathExpression | The memory path expression to modify |
| <*value*> | Yes | Any | The value to set for the specified path |
|||||

*Example*

```
setPathToValue($users[@name].preferences[2], 're' + 'd')
```
If @name was "bob", this would set the memory path ```dialog.users.bob.preferences[2]``` to the string "red" and return the value that was set. The function would ensure that there was an object at .users and .bob and the the array at .preferences had at least 3 elements.

<a name="setProperty"></a>
<a name="setProperty">

### setProperty

Expand All @@ -2654,6 +2630,7 @@ setProperty(<object>, '<property>', <value>)
| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| <*object*> | Yes | Object | The JSON object from where you want to set a property |
| <*property*> | Yes | String | The name for the property to set |
| <*value*> | Yes | Any | The value to set for the specified property |
|||||

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Microsoft.Bot.Framework.CSharp.CoreBot</id>
<version>4.2.0</version>
<version>4.5.0</version>
<description>
A .NET Core Template for Microsoft Bot Framework v4. Will let you quickly set up a conversational AI bot with core features every bot is likely to have.
A .NET Core Template for Microsoft Bot Framework v4. Will let you quickly set up a conversational AI bot with core features every bot is likely to use.
</description>
<authors>Microsoft</authors>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@
"Framework": {
"longName": "framework"
},
"IncludeTests": {
"longName": "include-tests",
"shortname": ""
},
"SkipRestore": {
"longName": "no-restore",
"shortName": ""
}
},
"usageExamples": [
"--framework netcoreapp2.1",
"--include-tests true",
"--no-restore true"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
"Bot",
"Bot Framework",
"AI",
"Core Bot"
"Core Bot",
"Core Bot Test"
],
"defaultName": "CoreBot",
"groupIdentity": "Microsoft.BotFramework.CSharp.CoreBot",
"identity": "Microsoft.BotFramework.CSharp.CoreBot",
"name": "Bot Framework Core Bot (v0.4.6)",
"name": "Bot Framework Core Bot (v4.5.0)",
"preferNameDirectory": true,
"sourceName": "Microsoft.BotFramework.CoreBot",
"shortName": "corebot",
Expand All @@ -24,7 +25,7 @@
"type": "generated",
"generator": "constant",
"parameters": {
"value": "v0.4.6"
"value": "v4.5.0"
},
"replaces": "__vX.X.X__"
},
Expand Down Expand Up @@ -55,6 +56,13 @@
"replaces": "__NETCOREAPP_VERSION__",
"defaultValue": "netcoreapp2.2"
},
"IncludeTests": {
"type": "parameter",
"dataType": "bool",
"defaultValue": "false",
"description": "If specified, will also create a test project for your bot.",
"isRequired": false
},
"AspCoreAssemblyVersion": {
"type":"generated",
"generator": "switch",
Expand Down Expand Up @@ -104,7 +112,21 @@
"sources": [
{
"modifiers": [
{"exclude": [ "**/NuGet.Config", "**/.DS_Store" ]}
{
"condition": "(!IncludeTests)",
"exclude": [
"CoreBot.Tests/**/*",
"**/NuGet.Config",
"**/.DS_Store"
]
},
{
"condition": "(IncludeTests)",
"exclude": [
"**/NuGet.Config",
"**/.DS_Store"
]
}
]
}
],
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading