Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information