Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: validate bot name when passed via URL params #4712

Merged
merged 17 commits into from
Nov 13, 2020
Merged

Conversation

a-b-r-o-w-n
Copy link
Contributor

Description

Validates name when passed via URL query string.

Also adds some QOL improvements to electron development.

Task Item

fixes #4441

tonyanziano
tonyanziano previously approved these changes Nov 6, 2020
Copy link
Contributor

@tonyanziano tonyanziano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@coveralls
Copy link

coveralls commented Nov 9, 2020

Coverage Status

Coverage increased (+0.05%) to 54.787% when pulling f7bcb86 on abrown/gh-4441 into 7cd8748 on main.

hatpick
hatpick previously approved these changes Nov 9, 2020
Copy link
Contributor

@hatpick hatpick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look fine to me, but here's my overall "nit" suggestion to consider :)
I suggest breaking this PR into two PRs, one that has electron-related changes, and one have the validation changes. This helps with reverting changes easier and keeping track of them if things go south.

@cwhitten cwhitten merged commit 223c14b into main Nov 13, 2020
@cwhitten cwhitten deleted the abrown/gh-4441 branch November 13, 2020 16:34
alanlong9278 added a commit to alanlong9278/BotFramework-Composer that referenced this pull request Nov 18, 2020
* feature/bot-projects:
  fix: keep highlight on item with the menu open (microsoft#4835)
  All tests passed
  chore: Pull form dialogs feature branch back to main (microsoft#4841)
  X-platform fix for electron-server "start" script (microsoft#4833)
  build: add option to force rebuild of extensions (microsoft#4830)
  fix: remove checkURL call from navTo on dialog clicks (microsoft#4795)
  fix: export to zip (microsoft#4820)
  fix: prevent minification of AbortSignal (microsoft#4829)
  feat: Settings page (microsoft#4456)
  feat: bot projects skill & context menu (microsoft#4492)
  fix: repair E2E tests that depended on seeing a single bot name (microsoft#4807)
  Removed some extraneous characters from the downloaded pva zip name (microsoft#4808)
  fix: Fixes linux icons on the taskbar (microsoft#4806)
  Update 1.2.0.md
  release: 1.2.0 (microsoft#4796)
  fix: validate bot name when passed via URL params (microsoft#4712)
  fix async move (microsoft#4799)
  fix: Await until delete action finishes (microsoft#4792)
  fix: update debounced update handlers (microsoft#4790)
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* update lockfile

* add prelaunch task to build electron

* clean up electron start scripts

add server as project reference so that it will rebuild when building electron

* ignore tsbuildinfo files

* update extension lockfiles

* add start:electron and make default start electron

* validate new bot form when storage changes

* add start:dev:electron script

* revert changes to server tsconfig

* wait on client dev server before starting electron

* revert ts project changes

* add server build and client ping dependencies to electron task

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Tony Anziano <tonyanziano5@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CreationFlow does not validate name passed in via URL params
5 participants