Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
bd0af37
Add Event types into new trigger (#900)
liweitian Sep 23, 2019
a4fd7b3
Refactor the project tree and add dialog filter (#899)
lei9444 Sep 23, 2019
230639f
do not auto focus inline lg editor (#936)
a-b-r-o-w-n Sep 24, 2019
4edc5e7
Refresh form UI (#935)
a-b-r-o-w-n Sep 26, 2019
df715ef
Minor cleanup (#952)
cwhitten Sep 26, 2019
6a74f46
Fix todo template (#955)
cwhitten Sep 26, 2019
d201ed9
Allow full control over destination path for bot projects (#794)
benbrown Sep 27, 2019
ba633ba
Fix todo template (#984)
cwhitten Sep 27, 2019
7267c6b
[Visual Editor] Copy & paste (#890)
yeze322 Sep 30, 2019
d63877d
Update issue templates
a-b-r-o-w-n Sep 30, 2019
c1c827a
add help url to inline lg editor field (#997)
a-b-r-o-w-n Sep 30, 2019
53d954f
Hide Home page in abs-h (#1005)
cwhitten Sep 30, 2019
4bdb76c
Create schema drop doc (#1009)
cwhitten Sep 30, 2019
f8e211d
add default trigger type (#934)
liweitian Oct 1, 2019
d810127
Pass the auth token properly to the build command (#1011)
Jeffders Oct 1, 2019
a7e7872
Bring back the botendpoint (#1020)
cwhitten Oct 2, 2019
58110c4
add link to docs to main readme (#1019)
benbrown Oct 2, 2019
1234d75
don't allow e2e tests to fail CI (#1022)
a-b-r-o-w-n Oct 2, 2019
7356c0f
use monaco editor for http request body field (#991)
a-b-r-o-w-n Oct 2, 2019
a5eb594
add component governance build step (#914)
a-b-r-o-w-n Oct 2, 2019
db3e28f
do not run obieditor extension as part of dev script (#1000)
a-b-r-o-w-n Oct 2, 2019
53efcb5
Update left nav(final) (#995)
lei9444 Oct 2, 2019
7759d15
add a doc for using oauth (#1027)
benbrown Oct 3, 2019
bcb1c7c
update Readme and docs
Oct 3, 2019
19ecd80
Merge branch 'master' of https://github.com/Microsoft/BotFramework-Co…
Oct 3, 2019
b88248e
update docs
Oct 3, 2019
6d76c5a
update links
Oct 3, 2019
6f93d50
Update docs
Oct 3, 2019
ce1f438
One more link update
Oct 3, 2019
6c9c788
Fix luis publish failed when authoringRegion is "" in setting page (#…
VanyLaw Oct 8, 2019
9dabe78
action node ui adjust (#1051)
alanlong9278 Oct 9, 2019
c29b109
Fix editor freezing issue when JSON parse failed (#1052)
VanyLaw Oct 9, 2019
313dd48
Partialy fix #999: selection change shouldn't trigger save data API (…
yeze322 Oct 9, 2019
d65071b
new prompt UI (#1040)
a-b-r-o-w-n Oct 9, 2019
f312254
wire up prompt navigation (#1058)
a-b-r-o-w-n Oct 9, 2019
403266f
Update LU placeholder text + aka.ms link (#1026)
vishwacsena Oct 9, 2019
1be401e
Fix #1057: Unable to drag to select a prompt (#1059)
yeze322 Oct 9, 2019
d65dcf6
Update settingsManager to support multiple environments (#1010)
Jeffders Oct 9, 2019
0e4f0cc
fix #1063 (#1064)
yeze322 Oct 9, 2019
c778264
Fix #906 (#1070)
yeze322 Oct 10, 2019
1ebb96f
retry setting editor dimensions if container is 0x0 (#1061)
a-b-r-o-w-n Oct 10, 2019
711c234
Don't build sever & client for local dev (#1073)
boydc2014 Oct 10, 2019
3308b6d
DialogFactory refactor (#1033)
cwhitten Oct 11, 2019
0d75fb5
fix samples (#1066)
boydc2014 Oct 11, 2019
3b64e9c
Removes sandwich bot (#1086)
cwhitten Oct 11, 2019
8bf02ac
enable eslint security rules (#1084)
a-b-r-o-w-n Oct 11, 2019
cab322a
remove recognizer options from choice input form (#1087)
a-b-r-o-w-n Oct 11, 2019
ab5d656
Updates to interruption sample (#1025)
vishwacsena Oct 11, 2019
c42c2ef
Fix Luis republish issue when settings change but luis files not chan…
VanyLaw Oct 14, 2019
41a79e8
fix issue (#1102)
VanyLaw Oct 14, 2019
b330e40
Add shortcuts for undo / redo (#1071)
alanlong9278 Oct 14, 2019
a1a0b35
fix keyboard navigation after switching tabs or apps (#1075)
yeze322 Oct 14, 2019
3b1359a
update pr template to reference GH references (#1104)
a-b-r-o-w-n Oct 14, 2019
06f9771
fix bug: show recent bot project (#1103)
liweitian Oct 14, 2019
8a607fe
Copy runtime into new bot projects (#1016)
benbrown Oct 14, 2019
958fb07
Create ComposerDialogs for every sample bot (#1109)
boydc2014 Oct 15, 2019
bb56b12
[Visual Editor] Focus state for prompt tab (#1069)
yeze322 Oct 15, 2019
43ac6bb
Inherit OBI types from 'shared' lib in Visual Editor (#1108)
yeze322 Oct 15, 2019
8028890
Fix dialog can't be deleted and .gitignore (#1113)
boydc2014 Oct 15, 2019
a1cd9ae
[Editor] Support inline lg editing (#898)
zhixzhan Oct 15, 2019
cf27805
improve form performance by using local state (#1106)
a-b-r-o-w-n Oct 15, 2019
1257029
Added reporting security issues to main readme
Oct 15, 2019
1013529
increate the memory of node (#1118)
boydc2014 Oct 16, 2019
9a6d193
remove empty folder after removing dialog (#1099)
liweitian Oct 16, 2019
2c48ce6
remove constraint and name field (#1101)
liweitian Oct 16, 2019
4ef2d75
fix visual-designer e2e test error (#1117)
alanlong9278 Oct 16, 2019
751fe68
Bump lodash.merge and webpack-dev-server (#1121)
cwhitten Oct 16, 2019
0227580
Update packages to botbuilder-dotnet master 4.6.0-preview-191012 and …
luhan2017 Oct 16, 2019
721c9a3
add initial CSP directives (#1105)
a-b-r-o-w-n Oct 17, 2019
2443a2e
only emit ejs files for production build (#1129)
a-b-r-o-w-n Oct 17, 2019
6e58096
Publish/Rollback methods and links to absh backend (#943)
Jeffders Oct 17, 2019
bfae821
Fix allow interruptions (#1131)
a-b-r-o-w-n Oct 17, 2019
e371222
fix lg editing when multiple editors on the same page (#1132)
a-b-r-o-w-n Oct 17, 2019
9a1cf95
Parse regex intents in trigger wizard (#1133)
cwhitten Oct 18, 2019
70e77be
use lodash dot package (#1125)
zhixzhan Oct 18, 2019
970fbb5
lg template look cover `prompt` & `unrecognizedPrompt` (#1136)
zhixzhan Oct 18, 2019
3c53b94
Update Deployment Template SDK to 2019-10-12. (#1126)
Oct 18, 2019
fcd7243
Liweitian/updated schema in trigger (#1138)
liweitian Oct 18, 2019
ed1659c
Fix botEndpoint not correct in docker environment (#1139)
boydc2014 Oct 18, 2019
23582dd
Upgrade botbuilder-lg (#1142)
boydc2014 Oct 18, 2019
db10953
Handle copy LG activity in visual editor (#1096)
yeze322 Oct 18, 2019
ac4bb13
Expose botProject to docker (#1147)
boydc2014 Oct 21, 2019
3b86856
[Shell] Remove redundant exports in ProjectTree/index (#1146)
yeze322 Oct 22, 2019
ba6cd24
Update package and some fixes (#1188)
luhan2017 Oct 22, 2019
472350e
prompt exception ui bugfix (#1187)
alanlong9278 Oct 22, 2019
6da77d3
[Visual Editor] Support QnAMakerDialog (#1178)
yeze322 Oct 22, 2019
cda074e
fix a flicker bug in home page (#1120)
liweitian Oct 22, 2019
1f598c0
updating license file for public preview
Oct 22, 2019
b944516
do not memoize BaseEditor (#1194)
a-b-r-o-w-n Oct 22, 2019
7f1f113
fix various form issues (#1199)
a-b-r-o-w-n Oct 22, 2019
33ef74d
fix appId and appPassword missing problem (#1183)
VanyLaw Oct 23, 2019
57baf4c
Fix LG resource delete in dialog (#1145)
zhixzhan Oct 23, 2019
d227aff
check unll array before use it (#1215)
yeze322 Oct 23, 2019
f92434d
Hailiu/settings ui (#1134)
hailiu2586 Oct 23, 2019
307fc15
Update high risk dependencies (#1205)
lei9444 Oct 23, 2019
3c2309e
[Visual Editot]Add label content for traceActivity (#1184)
alanlong9278 Oct 23, 2019
68dad65
Hide edit actions (#1222)
a-b-r-o-w-n Oct 23, 2019
1dcf975
Adjust Menu item flyouts (#1226)
cwhitten Oct 23, 2019
fcd66e1
Add banner (#1227)
Oct 24, 2019
eafcf29
[Visual Editor] add `npm start` command for visual editor (#1238)
alanlong9278 Oct 24, 2019
d4ae531
use local system path when initializing data file (#1242)
a-b-r-o-w-n Oct 24, 2019
62c220e
Update runtime to 191022-1 daily build (#1245)
cwhitten Oct 24, 2019
d51d8f4
UX Change labels of Bot says and User Says (#1230)
zhixzhan Oct 24, 2019
549a654
instructions for Oct 24th hack
Oct 24, 2019
2c86c4c
Merge branch 'master' of https://github.com/Microsoft/BotFramework-Co…
Oct 24, 2019
d547b08
Fixing links to images
Oct 24, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/bot-framework-composer-bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ assignees: ''
---

## Version
What version of the Emulator are you using.
What version of the Composer are you using? Paste the build SHA found on the about page.

## Describe the bug
Give a clear and concise description of what the bug is.
Expand All @@ -29,5 +29,3 @@ If applicable, add screenshots to help explain your problem.

## Additional context
Add any other context about the problem here.

[bug]
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Bot Framework Composer Feature request
about: Suggest an idea for the Bot Framework Composer
title: ''
labels: Enhancement, Needs-triage
labels: 'Type: suggestion, Needs-triage'
assignees: ''

---
Expand Down
9 changes: 5 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
## Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

If this is a bug fix, please describe the root cause and analysis of this problem.
If this is a bug fix, please describe the root cause and analysis of this problem.

## Task Item

Please include the link to the related work item, like fix [Something is not working](http://url.here)
Please include a link to the related issue. [Ex. `Closes #<issue #>`](https://help.github.com/en/articles/closing-issues-using-keywords)

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Code refactor (non-breaking change which improve code quality, clean up, add tests, etc)
Expand All @@ -24,6 +25,6 @@ Please delete options that are not relevant.
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have functionally tested my change

## Screenshots
## Screenshots

Please include screenshots or gifs if your PR include UX changes.
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,14 @@ typings/
# Local sample bots
SampleBots/Local*
SampleBots/__Test*
SampleBots/*/generated/
SampleBots/*/settings
SampleBots/*/*/generated
SampleBots/*/*/settings

#tmp.zip
*.zip

#DS_Store
*.DS_Store

# VsCode
Composer/.vscode/
14 changes: 8 additions & 6 deletions BotProject/CSharp/BotManager.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
using Microsoft.Bot.Builder.BotFramework;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Dialogs.Adaptive;
using Microsoft.Bot.Builder.Dialogs.Debugging;
using Microsoft.Bot.Builder.Dialogs.Declarative;
using Microsoft.Bot.Builder.Dialogs.Declarative.Resources;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.Bot.Connector.Authentication;
using Microsoft.Extensions.Configuration;
using Microsoft.Bot.Builder.LanguageGeneration;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
Expand All @@ -16,7 +18,7 @@
using System.Reflection;
using System.Threading.Tasks;

namespace Microsoft.Bot.Builder.TestBot.Json
namespace Microsoft.Bot.Builder.ComposerBot.json
{
public interface IBotManager
{
Expand Down Expand Up @@ -69,11 +71,11 @@ public void SetCurrent(string botDir)
adapter
.UseStorage(storage)
.UseState(userState, conversationState)
.UseLanguageGeneration(resourceExplorer)
.UseDebugger(4712)
.UseAdaptiveDialogs()
.UseResourceExplorer(resourceExplorer)
.UseLanguageGeneration(resourceExplorer, "common.lg")
.Use(new RegisterClassMiddleware<IConfiguration>(Config))
.Use(new InspectionMiddleware(inspectionState, userState, conversationState, credentials))
.UseResourceExplorer(resourceExplorer);
.Use(new InspectionMiddleware(inspectionState, userState, conversationState, credentials));

adapter.OnTurnError = async (turnContext, exception) =>
{
Expand All @@ -84,7 +86,7 @@ public void SetCurrent(string botDir)
};
CurrentAdapter = adapter;

CurrentBot = new TestBot("Main.dialog", conversationState, userState, resourceExplorer, DebugSupport.SourceRegistry);
CurrentBot = new ComposerBot("Main.dialog", conversationState, userState, resourceExplorer, DebugSupport.SourceMap);
}

public void SetCurrent(Stream fileStream, string endpointKey = null, string appPwd = null)
Expand Down
14 changes: 7 additions & 7 deletions BotProject/CSharp/BotProject.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.1" />
<PackageReference Include="Microsoft.Bot.Builder" Version="4.6.0-Daily-2019-08-31-01" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs.Adaptive" Version="4.6.0-Daily-2019-08-31-01" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs.Debugging" Version="4.6.0-Daily-2019-08-31-01" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs.Declarative" Version="4.6.0-Daily-2019-08-31-01" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.6.0-Daily-2019-08-31-01" />
<PackageReference Include="Microsoft.Bot.Builder.LanguageGeneration.Renderer" Version="4.6.0-Daily-2019-08-31-01" />
<PackageReference Include="Microsoft.Bot.Connector" Version="4.6.0-Daily-2019-08-31-01" />
<PackageReference Include="Microsoft.Bot.Builder" Version="4.6.0-preview-191022-1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.6.0-preview-191022-1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs.Adaptive" Version="4.6.0-preview-191022-1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs.Debugging" Version="4.6.0-preview-191022-1" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs.Declarative" Version="4.6.0-preview-191022-1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.6.0-preview-191022-1" />
<PackageReference Include="Microsoft.Bot.Connector" Version="4.6.0-preview-191022-1" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,49 +12,51 @@
using Microsoft.Bot.Builder.Dialogs.Debugging;
using Microsoft.Bot.Builder.Dialogs.Declarative;
using Microsoft.Bot.Builder.Dialogs.Declarative.Resources;
using Microsoft.Bot.Builder.Dialogs.Debugging;
using Microsoft.Bot.Builder.LanguageGeneration;
using Microsoft.Bot.Schema;
using Microsoft.Extensions.Configuration;
using Microsoft.Recognizers.Text;
using Newtonsoft.Json;
using Microsoft.Bot.Builder.AI.QnA;


namespace Microsoft.Bot.Builder.TestBot.Json
namespace Microsoft.Bot.Builder.ComposerBot.json
{
public class TestBot : ActivityHandler
public class ComposerBot : ActivityHandler
{
private AdaptiveDialog rootDialog;
private readonly ResourceExplorer resourceExplorer;
private UserState userState;
private DialogManager dialogManager;
private ConversationState conversationState;
private IStatePropertyAccessor<DialogState> dialogState;
private Source.IRegistry registry;
private ISourceMap sourceMap;
private string rootDialogFile { get; set; }

public TestBot(string rootDialogFile, ConversationState conversationState, UserState userState, ResourceExplorer resourceExplorer, Source.IRegistry registry)
public ComposerBot(string rootDialogFile, ConversationState conversationState, UserState userState, ResourceExplorer resourceExplorer, ISourceMap sourceMap)
{
this.conversationState = conversationState;
this.userState = userState;
this.dialogState = conversationState.CreateProperty<DialogState>("DialogState");
this.registry = registry;
this.sourceMap = sourceMap;
this.resourceExplorer = resourceExplorer;
this.rootDialogFile = rootDialogFile;
DeclarativeTypeLoader.AddComponent(new QnAMakerComponentRegistration());
// auto reload dialogs when file changes
this.resourceExplorer.Changed += (resources) =>
{
if (resources.Any(resource => resource.Id == ".dialog"))
{
Task.Run(() => this.LoadRootDialogAsync());
}
};

};
LoadRootDialogAsync();
}

private void LoadRootDialogAsync()
{
var rootFile = resourceExplorer.GetResource(rootDialogFile);
rootDialog = DeclarativeTypeLoader.Load<AdaptiveDialog>(rootFile, resourceExplorer, registry);
rootDialog = DeclarativeTypeLoader.Load<AdaptiveDialog>(rootFile, resourceExplorer, sourceMap);
this.dialogManager = new DialogManager(rootDialog);
}

Expand Down
2 changes: 0 additions & 2 deletions BotProject/CSharp/ComposerData/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion BotProject/CSharp/Controllers/BotAdminController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace Microsoft.Bot.Builder.TestBot.Json
namespace Microsoft.Bot.Builder.ComposerBot.json
{
[Route("api/admin")]
[ApiController]
Expand Down
2 changes: 1 addition & 1 deletion BotProject/CSharp/Controllers/BotController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Microsoft.Bot.Builder.Dialogs.Debugging;
using Microsoft.Bot.Builder.Integration.AspNet.Core;

namespace Microsoft.Bot.Builder.TestBot.Json
namespace Microsoft.Bot.Builder.ComposerBot.json
{
// This ASP Controller is created to handle a request. Dependency Injection will provide the Adapter and IBot
// implementation at runtime. Multiple different IBot implementations running at different endpoints can be
Expand Down
2 changes: 1 addition & 1 deletion BotProject/CSharp/LuisConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Linq;
using System.Threading.Tasks;

namespace Microsoft.Bot.Builder.TestBot.Json
namespace Microsoft.Bot.Builder.ComposerBot.json
{
public class LuisCustomConfig
{
Expand Down
2 changes: 1 addition & 1 deletion BotProject/CSharp/NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="BotBuilder.myget.org" value="https://botbuilder.myget.org/F/botbuilder-declarative/api/v3/index.json" protocolVersion="3" />
<add key="BotBuilder.myget.org" value="https://botbuilder.myget.org/F/botbuilder-v4-dotnet-daily/api/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
2 changes: 1 addition & 1 deletion BotProject/CSharp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System;
using System.IO;

namespace Microsoft.Bot.Builder.TestBot.Json
namespace Microsoft.Bot.Builder.ComposerBot.json
{
public class Program
{
Expand Down
4 changes: 2 additions & 2 deletions BotProject/CSharp/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"BotProject": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "http://localhost:3979",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:3979"
}
}
}
}
40 changes: 0 additions & 40 deletions BotProject/CSharp/Recognizers/RuleRecognizer.cs

This file was deleted.

Loading