* make jest tests silent
* fix path warning in tests
* don't hide build/ or node_modules/
* fix createUploadHandler test
* fix conversation handler test
* use github actions reporter for test results
* include test location in output
* move jest dep into test-utils and use correct reporter name
* ignore tests in dist
* fix up botProject open handle
* bump browserslist and update caniuse-lite
* use node env for node tests
supposedly this should help speed up tests that do not require jsdom
* perpare server for @swc-node/jest
* prepare client for @swc-node/jest
* switch to swc for transpiling ts in tests
* fix compiler errors
* removed unused var
* special case the fallback recognizer (#7634)
* chore: bump wait-on to v5.3.0 (#7648)
* fix: update left nav and top bar strings (#7609)
* start fixing header
* adjust header chrome and left nav order
* Update en-US.json
* fix typecheck errors
* fix unit tests
* Update en-US.json
* change Design to Create in e2e tests
* Update LuisDeploy.spec.ts
* update flaky check in visitPage
* add 'checked' flag to visitPage to minimize surface area
* fix punctuation
* fix e2e test!
* fix security issue
* Revert "fix security issue"
This reverts commit 3aa6e3e4e36a951bb37244e01dd411fa4eca10dd.
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* fix: rephrase Enable Orchestrator dialog (#7639)
* "Add a skill" page changes
* Update EnableOrchestrator.tsx
* Update skill.test.tsx
* Update package.json
* Update yarn.lock
* Update en-US.json
* fix: Update provision & publishing copy (#7583) (#7642)
* Issue-7583: update copy for provision and publishing
* en-us json files
* Issue-7583: fix formatDialogTitle
* Issue-7583: refactor formatDialogTitle
* Issue-7583: reformat azure provision dialog block
* PR fixes
* Fixed spacing
Co-authored-by: GeoffCoxMSFT <gcox@microsoft.com>
* fix: Added cleanup logic to app on quit (#7645)
* Added cleanup logic to app on quit
* Added missing electron ipc event listener
Co-authored-by: TJ Durnford <tjdford@gmail.com>
Co-authored-by: Soroush <hatpick@gmail.com>
* feat: show tunneling information notification when starting bot with remote skills (#7611)
* add util to get device OS
* add port to local publish result
* add port to botEndpointsState
* show ngrok notification when starting a bot with remote skills
* only show the remote skills notification onces per session per bot
* update l10n file
* address feedback
* update locale file after merge
* fix failing test
Co-authored-by: Soroush <hatpick@gmail.com>
* feat: detect "old" bots and migrate them to new runtime (#6526)
* introduce a migration system for updating legacy projcts to the 2.0 runtime
* updated
* ensure root dialog gets updated appropriately
* adjust method for updating root dialog
* remove comments
* fire migration warning when loading bot
* use original project name for new project
* close modal on submit
* address feedback
* add confirm modal
* Rename azureFunctionsPublish publish targets to azurePublish (new shared id)
* Delete a.en-us.lu
* Delete a.en-us.qna
* Delete b.en-us.lu
* Delete b.en-us.qna
* Delete bot1.en-us.lu
* Delete bot1.en-us.qna
* do not require pva to migrate
* Add missing parameters
* clarify types
* Fix tests
reduce redundant code
* Fixes#6844: migrate appinsights key to new location
* fix migrate lint issue
* plumb through the yeomanOptions parameter, required to set the location of the settings folder when migrating
* feat: new validation pipeline - schema existence validation (#7001)
* add placeholder for schema validator
* add schema validator pipeline with mocked fn
* add schema visitor
* display diagnostics data in debug panel
* revert sdk.ts
* decrease schema diagnostic severity to 'Warning'
* optmize path join logic
* impl a unified walker covers SwitchCondition
* fix lint error: use BaseSchema
* feat: disable actions without schema
* wrap in useEffect
* optimization: avoid frequent recoil submission
* optimization: aggregate paths rather than updatedDialog to reduce time complexity
* chore: comments & var name
* lint
* add comments
* defense undefined skip-level 'actions'
* defense potential exceptions
* get sdk.schema content correctly
* fix lint
* fix folder name case problem
* Do not specify the luis endpoint key as a parameter to the runtime if no vlaue is present (#7240)
(leaving this paramter blank causes issues on windows)
* disable telemetry calls in the provision dialog while we investigate why telemetryclient is null (#7256)
Co-authored-by: Geoff Cox (Microsoft) <gcox@microsoft.com>
* prefer the botName field instead of the name field when managing connections (#7262)
* fix: Empty Webchat inspector text and Disabling items in PVA context (#7241)
* show floating notifications over eveything (#7269)
Co-authored-by: Soroush <sorgh@microsoft.com>
* Region for Microsoft Bot Channels Registration is now global (#7270)
Co-authored-by: Ben Brown <benbro@microsoft.com>
Co-authored-by: Soroush <hatpick@gmail.com>
* fix: adjust package manager feeds (#7243)
* Fix#7092: set default page size to 100 items
* Fixes#6854: merge community feeds into main feed, sort by downloads
* Fixes#7043: include any component tagged msbot-component
* improve error handling
* restore different checks for declarative only vs code driven components
* refactor to use includes instead of indexOf
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
* fix: remodel About page (#7191)
* remodel About page
* add SHA to version
* fixes from suggestion
* get info from Electron and use it for Release field
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Ben Brown <benbro@microsoft.com>
Co-authored-by: Geoff Cox (Microsoft) <gcox@microsoft.com>
Co-authored-by: Srinaath Ravichandran <srinaath27@gmail.com>
Co-authored-by: Soroush <hatpick@gmail.com>
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: Vamsi Modem <12182973+VamsiModem@users.noreply.github.com>
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
* fix mapping of schema files during migration
* fix lint
* fix default name of migrated project
* run schema merge as part of the migration
* do we need to migrate teh schema? or not?
* do not migrate schema
* - Adding field for runtime language
- Fixing field population for runtime type
* Passing runtime lang and type down to yeoman calls
* Fixing adaptive runtime name
* Hardcoding runtime version and fixing settings page generation on migrate
* Fixing check for 'inBotMigration' to be based on CreationStatusState > path substring
* Fix default naming
* revert preload.js
* Resolving PR comments and fixing errors from merge
* Change schema diagnostics severity to 'Error'
* Fetch @latest version from npm before migration
Co-authored-by: Dong Lei <donglei@microsoft.com>
Co-authored-by: leilzh <leilzh@microsoft.com>
Co-authored-by: zhixzhan <zhixzhan@microsoft.com>
Co-authored-by: zeye <zeye@microsoft.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Geoff Cox (Microsoft) <gcox@microsoft.com>
Co-authored-by: Srinaath Ravichandran <srinaath27@gmail.com>
Co-authored-by: Soroush <hatpick@gmail.com>
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: Vamsi Modem <12182973+VamsiModem@users.noreply.github.com>
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: Patrick Volum <pavolum@outlook.com>
Co-authored-by: Chris Whitten <christopherwhitten@gmail.com>
* fix: data race writing on setting file (#7475)
* fix data race writing on setting file
* remove isSkill in skillConfiguration
* remove default allowedCallers value
Co-authored-by: TJ Durnford <tjdford@gmail.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: Soroush <hatpick@gmail.com>
* remove appsettings file from default gitignore (#7679)
* fix: restore line beneath page header (#7676)
* Update Page.tsx
* Update BotProjectSettings.tsx
* chore: Rebase main with 1.4.1 release (#7678)
* exclude items from the package manager list that do not have names or versions -- such as locally implemented custom actions (#7683)
* Add components field to migrated settings. Guard against missing field during component merge (#7674)
Co-authored-by: Dong Lei <donglei@microsoft.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* fix: (Un) Installing a package now stops the currently running bot beforehand (#7689)
* Feed string, not int, to Switch per schema (#7707)
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* fix: generate manifest file when creating new publish target (#7666)
* generate manifest file when creating new profile
* test
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
Co-authored-by: TJ Durnford <tjdford@gmail.com>
* fix: converting bot with custom actions (ui update) (#7672)
* Hides the PVA publish profile from the profle creation dropdown (#7725)
* fix: set func-related settings during build step (#7723)
* set func-related settings during build step
* slight refactor to reduce duplicated code
* add type
* add typings in runtime plugin definition
* set type of port to number
* fix types, remove _ on variables that are used
* feat: Add preparatory work before connecting remote skill (#7519)
* draft dialog
* ux css
* css
* jump to create profile & set microsoftAppId to publish target
* comments & lint
* refactor dialog wrapper
* fix publish types missing in provision dialog (#7697)
* test case
* refactor
* fix type define
* fix title and json parse
* fix app Id not sync when create new profile
* Adds AppID and Password sections
* test case fixed
* Adds AppID/Password
* Update copy
Co-authored-by: Soroush <hatpick@gmail.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: VanyLaw <wenyluo@microsoft.com>
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
Co-authored-by: Chris Whitten <christopherwhitten@gmail.com>
* fix: Revert changes to adaptive card templates to support PVA (#7808)
* fix: Revert changes to adaptive card templates to support PVA
* requested changes
* fetch publish types for each project
* fix: Throttle restart conversation (#7824)
* Throttle restart
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
* Remove await
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
* Updated throttle time
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
* Unit test update
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
* Enable only on connected
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
* removed if
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Co-authored-by: Srinaath Ravichandran <srravich@microsoft.com>
* chore: automated localization updates (#7759)
* Localized resource files from OneLocBuild
* fix typos and stray apostrophes
* fix apostrophes
* typo fix
* Update en-US.json
* fix more apostrophes
* revert reversions
Co-authored-by: Composer Localization <botframework-composer-eng@service.microsoft.com>
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* Deploy exception returns real error (#7837)
* fix: Fix missing data collection settings on server (#7814)
* fix: Fix missing data collection settings on server
* fix tests
* fix test again
* minor change
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* fix: add inner scrollbar to selection area (#7782)
* scroll
* css
* test
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* Migration: adjust target blob transcript field names (#7848)
* fix: Always use intermediate lg template for text and speak modalities (#7842)
* allow click outside blocking modals (#7727)
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: TJ Durnford <tjdford@gmail.com>
* fix: Remove depth and transparentBorders from FieldProps, remove ObjectArrayField, and refactor OpenObjectField (#6633)
* Remove depth and transparentBorder
* Update OneOfField dropdown styles
* Remove ObjectArrayField
* fix tests
* Refactor OpenObjectField
* updated test
* minor
* fix test
* minor
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
* fix: Teaching bubble missing content (#7764)
* fix: Teaching bubble missing content
* Fix item ref
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: Soroush <hatpick@gmail.com>
* fix: Reset allowed callers cache when switching between project settings (#7874)
* fix: Reset allowed callers cache when switching between project settings
* comment
Co-authored-by: Soroush <hatpick@gmail.com>
* fix: breadcrumb & show code button collision (#7720)
* fix breadcrumb & show code button collision
* use flex
* update styles
* observe button width, auto layout ... breadcrumb
* ignore typescript ResizeObserver declarations missing
* fix type in test
* useResizeObserver
* fix mock
Co-authored-by: Srinaath Ravichandran <srinaath27@gmail.com>
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: Soroush <hatpick@gmail.com>
* Update home feed for Build 2021 (#7912)
* fix (#7440)
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: TJ Durnford <tjdford@gmail.com>
* fix: Custom function declaration (#7775)
* Custom function declaration
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
* Typo in custom functions
Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>
Co-authored-by: Srinaath Ravichandran <srravich@microsoft.com>
* add new caller when caller still have empty list, just focus on the empty one (#7767)
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
* Resolve dns-packet to 1.3.4 to fix CVE-2021-23386 (#7942)
Co-authored-by: Soroush <hatpick@fmail.com>
* fix: invalid profile case (#7784)
* invalid profile case
* comments
* remove unused component
* refactor publish profile wrapper dialog
* toekn page jump logic err
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
Co-authored-by: Soroush <hatpick@gmail.com>
* fix: Need to wait for zip deployment to be done processing (#7858)
* Handled 202
* Added error case for processing
* Improvements
Co-authored-by: Soroush <hatpick@gmail.com>
* Update readme screenshot (#7918)
Co-authored-by: Soroush <sorgh@microsoft.com>
* upgrade json-ptr (#7988)
* update test-utils dependencies
* remove console overrides
* fix tests for jest 27
* use fake timers for jest
* fix more tests for jest 27
* fix merge conflict
* clean up
* replace HookResult with RenderResult
* fix orchestrator test
* fix test warning
* fix jest-haste-map warning
* fix testid error
* attempt to resolve NetworkError in tests that use jsdom
* rename test file
* globally mock http client
* fix unhandled rejection error
* clear mocks after each test
* fix type errors
* rename test file
* move integration tests into own workspace
this is required due to a dependency resolution conflict within @testing-library/dom. See https://github.com/testing-library/dom-testing-library/issues/963
* remove unused dependency
* fix integration tests linting errors
* use correct directory for running e2e script
* re-enable parallel cypress tests
* pass --record option to cypress runner
* actually set up cypress to run in parallel
* add @testing-library/user-event to test-utils exports
* fix fixture path
* use fs-extra to ensure test bot directory
* update cypress comands
* remove pr trigger from pipeline
2 runs were happening. Trying to see if this fixes that.
* re-enable cleanup after all tests
* update lockfile
* fix mocks and disabled button checks
* add axios mock
* remove cypress examples
* add hasOrchestrator to useEffect dependencies
* add description to integration-tests package.json
* fix e2e script for windows
* remove console.log
Co-authored-by: taicchoumsft <61705609+taicchoumsft@users.noreply.github.com>
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: natalgar <82851479+natalgar@users.noreply.github.com>
Co-authored-by: GeoffCoxMSFT <gcox@microsoft.com>
Co-authored-by: Tony Anziano <tonyanziano5@gmail.com>
Co-authored-by: TJ Durnford <tjdford@gmail.com>
Co-authored-by: Soroush <hatpick@gmail.com>
Co-authored-by: Ben Brown <benbro@microsoft.com>
Co-authored-by: Dong Lei <donglei@microsoft.com>
Co-authored-by: leilzh <leilzh@microsoft.com>
Co-authored-by: zhixzhan <zhixzhan@microsoft.com>
Co-authored-by: zeye <zeye@microsoft.com>
Co-authored-by: Srinaath Ravichandran <srinaath27@gmail.com>
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: Vamsi Modem <12182973+VamsiModem@users.noreply.github.com>
Co-authored-by: Patrick Volum <pavolum@outlook.com>
Co-authored-by: Chris Whitten <christopherwhitten@gmail.com>
Co-authored-by: Long Alan <alanlong9278@126.com>
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
Co-authored-by: Long Alan <julong@microsoft.com>
Co-authored-by: VanyLaw <wenyluo@microsoft.com>
Co-authored-by: Srinaath Ravichandran <srravich@microsoft.com>
Co-authored-by: Composer Localization <botframework-composer-eng@service.microsoft.com>
Co-authored-by: Carlos Castro <carlosscastro@users.noreply.github.com>
Co-authored-by: Gary Pretty <gary@garypretty.co.uk>
Co-authored-by: Soroush <hatpick@fmail.com>
* initial commit for new provisioning extension
* Renamed extension, added auto complete component
* Deleted all the old files
* Modified Wizard to use render props approach, added signout support and footer with user persona
* Removed styled component deps
* Cleaned up props and added new components
* Moved constants to a new file
* Made changes per PR comments
* cleaned up Handoff wizard code
* Removed unncessary formatting
* Changes as per PR comments
* Added recoil dispatchers
* Removed unnecessary code
* Added useDispatcher hook
* Removed unwanted deps
* Removed barrel files
* Moved urls to the top in each file
* Added Text tag for all the instructions
* Changed parameter name
* Added Code owners for azurePublishNew
* Adding Ben Brown and Patrick Volum as github codeowners
* Add tdurnford as codeowner
Co-authored-by: TJ <tj.durnford@microsoft.com>
Co-authored-by: TJ Durnford <tjdford@gmail.com>
* update pre-commit glob to format files outside /Composer
* apply linting fixes to extension files
* lint extensions as part of CI
* fix new lint errors
* revert feature request issue template
In order to comply with certain reporting requirements, we should use issues until further notice.
* add note about searching for existing issue
* Ignoring .git folder for docker build
* changing base image to ubuntu
* adding verbose to health check on github actions
* fix varaible name
Co-authored-by: Dong Lei <donglei@microsoft.com>
* always compile extensions if git not present
* compile extension if main module is missing
* do not print git errors
* fix docker builds
* re-enable docker on CI
* load image into docker after building
* report on errors and fail script
* remove buildx
* force extensions to install all dependencies
when NODE_ENV is production, yarn will not install dev dependencies. We need those to build extensions.
* revert not using buildx
* start up docker in background
* update code scan action to run on push to main
* Fix#4294 - Disable the default timeout for requests on the LU build step which can take > 2 minutes for large models
* Update main.yml
Temporarily clearing the yarn cache trying to fix a CI build failure problem.
* Update project.ts
No idea why editing the workflow from GitHub caused this change, removing it.
* Update main.yml
* Update main.yml
* Update main.yml
* Update main.yml
* Update main.yml
* Update main.yml
* Update main.yml
* Update main.yml
* Update main.yml
* Trying if cache is good and clean
* restoring the update of checksums
* removing temp yarn cache clear
* Update main.yml
Restoring yarn cache clean
Co-authored-by: Ben Brown <benbro@microsoft.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* rename plugins to extensions where it makes sense
* move packages out of extensions directory
* rename extension to editor-extension
* merge editor-extension and extension-client
* fix type name
* fix up remaining references to extensions directory
* rename plugin-loader to extension
* Aligned electron remote plugin dir with server remote plugin dir.
* Fixed tests.
* Typecheck fix
Co-authored-by: Tony Anziano <tonyanziano5@gmail.com>
* add js runtime
* set copy button disable when copying
* updated js runtime to load settings correctly
* updated js runtime to load settings correctly
* add js runtime publish
* add runtime config
* fixed sample templates
* read folder path from settings
* change publish folder for js runtime
* exlucde *.zip from archived files
* fixed appsettings path for deployment
* added web.config as well as iisnode.yml configuration files for deployment
* compiled js runtime
* merge settings
* enum value to lower case
* fixed zip deployment issue
* deploy js runtime without eject
* js runtime lib files
* fix restart
* fix lint
* fix zip runtime
* fix bot-deploy package can not update in azurepublish plugin
* fix copy runtime everytime when local publish
* updated configuration files for deployment
* add yarn install in first time clicking start
* bump runtime dependencies' version
* fix deploy absolute url and include .deployment into zip
* decouple platform in localpublish plugin
* move some code into nodejs runtime core
* merge master
* fix profile edit and save not saving to settings
* Remove language specific features from core and into runtime plugin (#3453)
* Remove language specific features from core and into runtime plugin
* cleanup a bit of the azurepublish plugin for readability
* move some code, add some comments
* refactor bot project deploy and split into several sub-classes. move this from inside composer into the plugin
* remove bot-deploy package
combine azurePublish and azureFunctionsPublish
refine buildDeploy api method to allow for knowledge of what target is being built for
* remove azureFunctionsPublish (replaced by azureFunctions)
* fix to node runtime
* allow start bot button to be async
* clean up dependencies, paths
* remove rimraf yarn.lock in package.json and catch error during setBot
* merge settings and write once inside the runtime plugin
* make sure to use exec instead of execSync
* make sure everything happens in the right order
don't use console.log
* identify runtime by name field
* update luis package in azurePublish plugin and fix getRuntimeByProject
* remove lib folder in azurePublish
* test: increase 'adaptive-flow' test coverage to 77% (#3530)
* + UT: adaptive-flow-renderer/widgets
* + UT: adaptive-flow-editor/utils
* remove unref hook: useWindowDimension
* + UT: KeyboardZone
* + UT: cursorTracker
* + UT: adaptive-flow-editor/constants
* +UT: AdaptiveFlowEditor
* + UT: adaptive-flow-editor/contexts
* + UT: useEditorEventApi
* fix CI error
* + UT: NodeWrapper
* + UT: EdgeMenu
* KeyboardZone behavioror test
* change the test file structure of cursorTracker
* update a test case (#3531)
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* fix lgWorker test failure (#3529)
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
* chore: adds webpack bundle analyzer (#3542)
* issues#3309
* fixes lints
* Default to bot settings if no route cache
* fix: #3485
* fix: #3486 Debug/Fix HMR support
* webpack bundle analyzer
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Andy Brown <asbrown002@gmail.com>
* refactor: split some actions off setSettings (#3525)
* split some actions off setSettings
* add more actions - eject still not working
* fix arguments in eject
* split some actions off setSettings
* add more actions - eject still not working
* fix arguments in eject
* Update setting.ts
* fix some tests
* Update index.ts
* move logo-clicking to commands.ts
* Update commands.ts
* fix: Dialog validate throw error when delete an action (#3537)
* fix: Dialog validate throw error when delete an action
* use optional chaining and more explicit length check
* fix lint
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Andy Brown <asbrown002@gmail.com>
* use const instead of raw http status values
* rename js runtime to node-azurewebapp
Co-authored-by: Wenyi Luo <wenyluo@microsoft.com>
Co-authored-by: zeye <2295905420@qq.com>
Co-authored-by: liweitian <liweitian93@outlook.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Zhixiang Zhan <zhixzhan@microsoft.com>
Co-authored-by: Soroush <hatpick@gmail.com>
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: Andy Brown <asbrown002@gmail.com>
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: leileizhang <leilzh@microsoft.com>
* fix js runtime in core
* fix js runtime local publish
* fix exclude paths not working in copyDir
* delete bot-deploy in lib
* merge nodejs runtime packages into one and fix deploy path error
* fix yarn to install lu 4.10.0
* fix merge conflict
* enable switch runtime in managed mode
* add npmrc to set registry in azure, make sure daily build version package can be install
* fix several comments
* fix comments
* fix luisbot deploy endpointKey issue and send 202 response before runtime template copy
* fix luisbot deploy endpointKey issue and send 202 response before runtime template copy
* fix ut in eject
* move DialogSetting interface into shared folder
* fix build error
* fix e2e test fail
* add test for js runtime
* dotnet runtime luis settings refactor, remove duplicate settings file (#3677)
* remove appsettings.deployment.json and appsettings.development.json
* fix get publish status after merge main
* some updates to the plugins README to include new functionality
* additional docs for the plugin APIs
* upgrade dependency
* support skills
* optimized structure of js runtime
* to get correct project root
* added manifest support in js runtime
* ignored lib folder in js runtime
* updated docs of js runtime
* fix some comments
* removed skills validation
* remove appsettings.json in dotnet
* fixed case issue of microsoft app id
* increased param length limit of web server
* shared skill conversation id factory
* remove listener before stop bot, move manifest saving into runtime plugin
* fix unit test
* modify node runtime actions test, add node runtime test into CI
* modify all node runtime tests
* add working directory in ci yml
* add preview in js eject and update restify package version
* add ts into dev dep
* build after eject
* added test cases for skill conversation id factory
* fix npm build involve jest in production environment
* polish
* fix some comments
* add eslint and fix lint
* updated set output target of typescript to es6
* use lodash merge instead object assign
* change method parameter to object, move botStatusInterval from recoil to component
* remove templatePath in publish api call and get it in plugins by runtime type in project
* azure functions in js runtime
* polish exec in runtime plugin, use lodash mergeWith to replace original mergeDeep
* polish runtime plugin
* make console log in azure publish plugin to logger
* fix mkdir error in runtime plugin; popup confirm dialog instead error when customized runtime existed
* stop bot before switch eject runtime
* ignore warning and error in npm install, modify schema folder into Schema folder in eject, in case linux eject
* add doc for js runtime
* polish
* polish
* modify readme
* merge multi parameter into object
Co-authored-by: Zichuan Ma <zim@microsoft.com>
Co-authored-by: Qi Kang <qika@microsoft.com>
Co-authored-by: Ben Brown <benbro@microsoft.com>
Co-authored-by: zeye <2295905420@qq.com>
Co-authored-by: liweitian <liweitian93@outlook.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Zhixiang Zhan <zhixzhan@microsoft.com>
Co-authored-by: Soroush <hatpick@gmail.com>
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: Andy Brown <asbrown002@gmail.com>
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: leileizhang <leilzh@microsoft.com>
Co-authored-by: Qi Kang <kangqidev@gmail.com>
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
* Rename to new main branch name
* Updated to aka.ms links
* Update Composer/packages/electron-server/src/appMenu.ts
Co-authored-by: Andy Brown <asbrown002@gmail.com>
* Fix some wrong changes
Co-authored-by: Andy Brown <asbrown002@gmail.com>
* report bug template add `Electron`
* mute LSP WebSocket connection lost pop up error
* refine re-connection
* use SendRequestWithRetry
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Andy Brown <asbrown002@gmail.com>
* split the configuration as object
* fix deployment script, change settings path
* fix bugs in deploy script and change credential type:
* finish gethistory, getstatus, update history and status after publish
* add some code comments for clarity
add many TODOs in code
* more code comments
* more code comments for clarity
* add login script and hash the config as folder name
* add bot deploy package build into lib build
* split the provision part out of composer
* fix luis appid unfound error
* fix typo
* polish
* use bot root to config the path of settings
* differ bot to different layer
* change the order of loading settings
* update schema
* change login and provision script, from save file to output to console
* add comment
* fix merge conflict
* format resulting profile
* add comment about security
* use Bearer token auth when doing zipdeploy
remove use of websiteclient
* move provision out of composer, and make sure it not depend on internal package
* add provision subfields schema
* use token replace the credential
* fix output of token
* change the error message when token expire
* add provision error details, add configurable
* update schema require and log message return
* fix parse
* fix template
* update schema and provision script
* fix provision luis configurable
* detail the token's error handle
* Add support for using the ejected runtime code instead of the built in template when publishing to Azure
* Make it optional to persist the history to disk.
Keep it in memory instead.
* move provision script into shared asset folder that is copied into all new projets
change hashing to include bot name to avoid possible overlap when using shared resources
* add to readme
* more readme
* more readme
* clean up tmp folder after publish completes or fails
* remove empty config in provision and appPassword in provision result, Change provision default to true
* add token error handle when zipdeploy fail
* improve output of provision script:
* add usage if missing parameters
* colorize and format output
* add some additional error formatting
* improve output
* remove webManagerClient and use token instead
* clean up the order of fields, remove unused fields from profile
update schema with full form
* use publisher description rather than package name
* feat: Runtime refactor, new directory structure and Azure Function introduction phase 1 (#2855)
* Runtime: new folder structure, refactor common c# code into core, create function runtime
* Remove deprecated Bot Project
* Runtime: Fix tests
* Update runtime code owners
* Runtime: Part 1 of updating composer server to honor new runtime paths
* Runtime: tweaks for local publish to run prior to merge
* Runtime: fixes post merge
* Update azure publish to use the azure web app template.
* Azure publish: update bot project deploy to new directory structure
* Fix codeowners alias mistake
* Revert "Merge branch 'master' of https://github.com/microsoft/BotFramework-Composer into wenyluo/azure"
This reverts commit af077e248e47e32750629dee7b9b8c8c6e98d84a, reversing
changes made to e24071d0ddbce5554d498c1ba34eb18a93b8948d.
* WebApp + new runtime: deployment and local runtime all working
* Runtime: move nuget.config to dotnet runtime root
* Asset manager: add mock folder to reflect new runtime structure
* Local publish: remove unnecessary space
* Runtime: Add copyright header to all missing files
* Fix bad merge
* Runtime: rename js -> node and update readmes
* add an optional instructions field to the publish plugin so we ca nexplain how to get a config
* merge master
* fix linter warning
* handle errors in kill procss
* remove unnecessary dupe fields from schema
* fix for modified schema path
Co-authored-by: Wenyi Luo <wenyluo@microsoft.com>
Co-authored-by: Qi Kang <qika@microsoft.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Carlos Castro <carlosscastro@users.noreply.github.com>