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

Cleanup workspace configuration files #2296

Merged
merged 2 commits into from
Apr 26, 2024
Merged

Cleanup workspace configuration files #2296

merged 2 commits into from
Apr 26, 2024

Conversation

AE-MS
Copy link
Contributor

@AE-MS AE-MS commented Apr 26, 2024

Description

In a recent PR, it was suggested that my JSON file should have a blank line at the end of it. Unfortunately, whenever I tried to add a blank line and save the file, VSCode would automatically remove the blank line.

Upon investigation, it seemed that there was some confusion/conflict between the editor settings that we have in our workspace, as well as my personal user settings (which I never intentionally modified), as well as the configuration settings in our config files.

This change cleans up all of this. I've removed the conflicting settings from my own .json config files (which you won't see in this PR since those are only stored locally in my user profile directory). I've also cleaned up/organized our various workspace settings and config files. Specific changes are highlighted as comments in the PR.

There are no product or product validation changes in this PR.

@AE-MS AE-MS requested a review from a team as a code owner April 26, 2024 17:59
@@ -1,9 +1,9 @@
module.exports = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

exports

Just alphabetizing these to make it easier for humans to see what is here.

@@ -6,6 +6,7 @@
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"orta.vscode-jest",
"streetsidesoftware.code-spell-checker"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We had configuration for this extension in our workspace editor settings, but it wasn't a recommended extension for the workspace. I added this because it's a helpful and popular extension (spell check).

@@ -1,16 +1,15 @@
{
"cSpell.words": ["adal", "uninitialize"],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are words that won't be marked as misspelled by the spell checking extension.

"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"javascript.preferences.quoteStyle": "single",
"jest.jestCommandLine": "pnpm test -- --",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These and most of the changes in this file is alphabetization.

"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"javascript.preferences.quoteStyle": "single",
"jest.jestCommandLine": "pnpm test -- --",
"jest.runMode": { "runAllTestsOnStartup": true, "type": "watch" },
Copy link
Contributor Author

Choose a reason for hiding this comment

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

jest.autorun is deprecated and this is the new way to configure jest.

}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Blank line added

@@ -1,7 +1,7 @@
import { errorLibraryNotInitialized } from '../../src/internal/constants';
import { ApiName } from '../../src/internal/telemetry';
import { app } from '../../src/public';
import { FrameContexts, errorNotSupportedOnPlatform } from '../../src/public/constants';
import { errorNotSupportedOnPlatform, FrameContexts } from '../../src/public/constants';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

errorNotSupportedOnPlatform, FrameContexts

Auto organized by prettier

@AE-MS AE-MS enabled auto-merge (squash) April 26, 2024 18:04
Copy link
Contributor

@shrshindeMSFT shrshindeMSFT left a comment

Choose a reason for hiding this comment

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

🚢

@shrshindeMSFT
Copy link
Contributor

shrshindeMSFT commented Apr 26, 2024

Thanks, for making these wonderful changes, by these configurations we can ensure the repository has correct prettier styling and more.

Copy link
Contributor

@erinha erinha left a comment

Choose a reason for hiding this comment

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

🚀

@AE-MS AE-MS merged commit 3f10bfc into main Apr 26, 2024
21 checks passed
@AE-MS AE-MS deleted the AE_MS/vscode_settings branch April 26, 2024 19:33
alexneyman-MSFT pushed a commit that referenced this pull request May 6, 2024
alexneyman-MSFT pushed a commit that referenced this pull request May 9, 2024
alexneyman-MSFT added a commit that referenced this pull request May 20, 2024
Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

update routes to properly describe the new page

Revert "update routes to properly describe the new page"

This reverts commit 7d8a421.

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf983.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

remove unnecessary ref

remove old code
alexneyman-MSFT added a commit that referenced this pull request May 20, 2024
This reverts commit 7d8a421.

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf983.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

remove unnecessary ref

remove old code

Create CODE_OF_CONDUCT.md (#2331)

Create SECURITY.md (#2332)

Add react router for navigation testing
alexneyman-MSFT added a commit that referenced this pull request May 20, 2024
Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

update routes to properly describe the new page

Revert "update routes to properly describe the new page"

This reverts commit 7d8a421.

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf983.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

remove unnecessary ref

remove old code

update lock
alexneyman-MSFT added a commit that referenced this pull request May 20, 2024
Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

update routes to properly describe the new page

Revert "update routes to properly describe the new page"

This reverts commit 7d8a421.

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf983.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

remove unnecessary ref

remove old code

update lock

Revert "update routes to properly describe the new page"

This reverts commit 7d8a421.

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf983.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

remove unnecessary ref

remove old code

Create CODE_OF_CONDUCT.md (#2331)

Create SECURITY.md (#2332)

Add react router for navigation testing

Add react router for navigation testing

Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

update routes to properly describe the new page

Revert "update routes to properly describe the new page"

This reverts commit 7d8a421.

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf983.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

remove unnecessary ref

remove old code

update lock
alexneyman-MSFT added a commit that referenced this pull request May 20, 2024
Implement getMeetingDetailsVerbose API (#2206)

* Init commit

* Add and modify e2e test cases

* Add check for new properties

* Add unit tests

* Add telemetry enum for getMeetingDetailsVerbose

* Added change files

* Updated interface description and changelog

* Update E2E test case versions

* Added additional unit and E2E tests

* Modified method to throw real errors

* Fixed build issues

* Updated type of pending properties, updated comment links

* Fixed unit test

* Update test case versions

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Change IOSSdkScheme to IOSSdkSchemeForTest to resolve future variable names conflict (#2280)

* update

* update

* update

Split iOS E2E Testing pipeline to two (#2278)

* Split iOS E2E Testing pipeline to two

* update

* update

* update

* update

* update

* update

* update

Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

update routes to properly describe the new page

Revert "update routes to properly describe the new page"

This reverts commit 7d8a4211b24171d4a1f0fe78e698340cc8099c24.

Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf9835527a57897af5925bcceea45f34555207.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

remove unnecessary ref

remove old code

Create CODE_OF_CONDUCT.md (#2331)

Create SECURITY.md (#2332)

Add react router for navigation testing

Add react router for navigation testing

Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

update routes to properly describe the new page

Revert "update routes to properly describe the new page"

This reverts commit 7d8a4211b24171d4a1f0fe78e698340cc8099c24.

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf9835527a57897af5925bcceea45f34555207.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

remove unnecessary ref

remove old code

update lock

Revert "update routes to properly describe the new page"

This reverts commit 7d8a4211b24171d4a1f0fe78e698340cc8099c24.

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf9835527a57897af5925bcceea45f34555207.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

remove unnecessary ref

remove old code

Create CODE_OF_CONDUCT.md (#2331)

Create SECURITY.md (#2332)

Add react router for navigation testing

Add react router for navigation testing

Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

update routes to properly describe the new page

Revert "update routes to properly describe the new page"

This reverts commit 7d8a4211b24171d4a1f0fe78e698340cc8099c24.

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf9835527a57897af5925bcceea45f34555207.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

remove unnecessary ref

remove old code

update lock
alexneyman-MSFT added a commit that referenced this pull request May 20, 2024
Implement getMeetingDetailsVerbose API (#2206)

* Init commit

* Add and modify e2e test cases

* Add check for new properties

* Add unit tests

* Add telemetry enum for getMeetingDetailsVerbose

* Added change files

* Updated interface description and changelog

* Update E2E test case versions

* Added additional unit and E2E tests

* Modified method to throw real errors

* Fixed build issues

* Updated type of pending properties, updated comment links

* Fixed unit test

* Update test case versions

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Change IOSSdkScheme to IOSSdkSchemeForTest to resolve future variable names conflict (#2280)

* update

* update

* update

Split iOS E2E Testing pipeline to two (#2278)

* Split iOS E2E Testing pipeline to two

* update

* update

* update

* update

* update

* update

* update

Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

update routes to properly describe the new page

Revert "update routes to properly describe the new page"

This reverts commit 7d8a4211b24171d4a1f0fe78e698340cc8099c24.

Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf9835527a57897af5925bcceea45f34555207.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

remove unnecessary ref

remove old code

Create CODE_OF_CONDUCT.md (#2331)

Create SECURITY.md (#2332)

Add react router for navigation testing

Add react router for navigation testing

Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

update routes to properly describe the new page

Revert "update routes to properly describe the new page"

This reverts commit 7d8a4211b24171d4a1f0fe78e698340cc8099c24.

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf9835527a57897af5925bcceea45f34555207.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

remove unnecessary ref

remove old code

update lock

Revert "update routes to properly describe the new page"

This reverts commit 7d8a4211b24171d4a1f0fe78e698340cc8099c24.

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf9835527a57897af5925bcceea45f34555207.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

remove unnecessary ref

remove old code

Create CODE_OF_CONDUCT.md (#2331)

Create SECURITY.md (#2332)

Add react router for navigation testing

Add react router for navigation testing

Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Exported Const Enum Backout (#2285)

* backed out all exported const enums

Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

Add webstorage E2E tests (#2295)

Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

Cleanup configuration files (#2296)

Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

Updated  and  e2e tests data in teams-js (#2311)

Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

update routes to properly describe the new page

Revert "update routes to properly describe the new page"

This reverts commit 7d8a4211b24171d4a1f0fe78e698340cc8099c24.

Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf9835527a57897af5925bcceea45f34555207.

add navigation onResume

Update pipeline source for DDL release (#2316)

updated next version (#2320)

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

Add isBackgroundLoad property on page context (#2286)

* Add isBackgroundLoad for pageInfo context

* Added isBackgroundLoad property under page for app context.

The property indicates that the app is loading in the background as part
of an opt-in performance enhancement.

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>

Cleanup for release 2.23.0 (#2318)

* Releasing 2.23.0 (#2309)

* Releasing 2.23.0

* Updated CHANGELOG

* Added changefile

Trharris/uninitialize fix (#2319)

* clear telemetryPort and dataLayerPort every time app._uninitialize is called

* Create @microsoft-teams-js-ace1fe2b-0c05-48f6-b3b4-bdecfe1fb665.json

Adding dialogParentComm to test app (#2315)

* Adding dialogParentComm to test app

* nit fix

* nit changes

* fixing e2e

Fixing e2e for dialog-parent communication (#2326)

Adding UUIDs to MessageRequests and MessageResponses (#2240)

* Adding UUIDs to MessageRequests and MessageResponses

* Committing changefile

* Added in MessageID and MessageUUID types, added in testing for UUID communication and id as numbers communication

* Changing waitForResponse to have input of type MessageUUID

* Updated references to use MessageID and MessageUUID

* Fixed lint error

* Created BaseUUID type

* Added validation for uuid to handleParentMessage

* Only validate UUIDs if there is one

* Added in MessageUUID object

* Testing new changes to UUID

* Added in serialization of objects

* Updated to address PR feedback

* Added comment describing MessageID vs MessageUUID

* Added in helper function

* Removing comment since map.delete was verified to work correctly

* Moved uuid object to interfaces.ts for more general use

* Replaced Function in Map declarations

* Updated to use serialized and deserialized Message Response objects

* Added in unit tests for UUID class

* Fixed lint error

* Updating tests

* Moved uuid object to new file uuidObject.ts, edited changefile verbage

* Added in unit tests for testing callback map deletion and functionality

* Removed unnused import

* Added in logging for when a callbackID fails to be generated

* Fixed a typo in communication spec

* Updated serialization and deserialization and uuid toString function

* Reverted toString() change due to compatibility issues

* Removing unnecessary map clear due to already clearing in uninitialize and removeHandlers

* Fixed an issue with removing message ids

* Reverting uuid back to private

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

cleanup up more imports (#2324)

remove unnecessary ref

remove old code

update lock
alexneyman-MSFT added a commit that referenced this pull request May 25, 2024
* Add react router for navigation testing

* Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Exported Const Enum Backout (#2285)

* backed out all exported const enums

* Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

* Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

* Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

* Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

* Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

* Add webstorage E2E tests (#2295)

* Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

* Cleanup configuration files (#2296)

* Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

* Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

* Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

* Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

* Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

* Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

* Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

* Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Updated  and  e2e tests data in teams-js (#2311)

* Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

* update routes to properly describe the new page

* Revert "update routes to properly describe the new page"

This reverts commit 7d8a421.

* Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf983.

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: Vikram Thanigaivelan <116702367+vikramtha@users.noreply.github.com>
Co-authored-by: Kerryn Frampton <56459261+kerrynf@users.noreply.github.com>
Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: noahdarveau-MSFT <109628470+noahdarveau-MSFT@users.noreply.github.com>
Co-authored-by: Jeff Klouda <93734408+jekloudaMSFT@users.noreply.github.com>
Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Shreyas <98348000+shrshindeMSFT@users.noreply.github.com>
Co-authored-by: ndangudubiyyam <90732984+ndangudubiyyam@users.noreply.github.com>
Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>
Co-authored-by: KangxuanYe <107154810+KangxuanYe@users.noreply.github.com>
Co-authored-by: Stephen Houston <5623311+cloudtx@users.noreply.github.com>
Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Ella-ly <85649572+Ella-ly@users.noreply.github.com>
shrshindeMSFT added a commit that referenced this pull request May 28, 2024
* Add react router for navigation testing

* Removing beta tag - Vikramtha/update pages current app (#2283)

* Removed beta tage on Pages.currentApp namespace and APIs

* Added changefile

* Update change/@microsoft-teams-js-51421b73-089f-43de-9076-75563e1f064c.json

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Private MessageChannels: split capability and add dataLayer.getDataLayerPort (#2277)

Update Message Channel capability to support sub capabilities, add data layer capability with getDataLayerPort
---------

Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Exported Const Enum Backout (#2285)

* backed out all exported const enums

* Add release yaml (#2274)

* add sdf release yaml

---------

Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Add description for pop-up auth window. (#2291)

* Update comment

* Update changefile

* Adding API to support external app authenticate with Power Platform Connector Plugins (#2272)

* Adding PPC auth

* Adding PPCauth UTs

* adding change file

* Resolving comments

* Resolving comments

* Modify hasScriptTags function to handle encoded Input

* Modify hasScriptTags function to handle encoded Input

* updating default input

* Modify hasScriptTags function to handle encoded Input

* adding telemetry tag for ppc auth

* Removing pluginId and adding unit tests

* Changing url to string before passign to psotmessage

* Removing regualr expression for html entities

* Removing regualr expression for html entities

* Modifying comments

* Modifying comments

* Resolving comments

* Resolving comments

---------

Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>

* Turn webStorage capability into a "real" capability (#2289)

* Webstorage becomes capability

* Update webstorage in test app

* Update webstorage test json

* Add changefile

* Test updates

* Test updates

* Final test updates

* Helpful util

* Empty json test file

* Send `validMessageOrigins` to `parentWindow` for verification. (#2293)

* Update webStorage.json to not be blank, but almost blank (#2294)

* Not blank, but almost blank

* Updated

* Add webstorage E2E tests (#2295)

* Publish android artifacts (#2284)

* Publish android artifacts

* Use 1ES publishing steps

* task names

* Use updated artifact location

* Add job attempt

* Cleanup configuration files (#2296)

* Added in new valid domains for Copilot Chat (#2287)

* Added in new valid domains for Copilot Chat

* Added in changefile

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

* Trharris/authenticate https (#2270)

* Restrict authentication.authenticate to only accept https urls

* Create @microsoft-teams-js-40968a44-8220-4162-a289-038e99f5bee3.json

* Updated based on PR feedback

* Updated to use new validation functions and added(?) support for URL encoded strings

* abstract out the auth code's use of the a tag and then add tests to make sure URL encoded partial urls work correctly

* Re-order imports

* Updated based on PR feedback

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

* Fixed incorrect API telemetry label for Pages_NavigateToApp API (#2299)

* Fix incorrect API telemetry label for Pages_NavigateToApp API

* update

* Update @microsoft-teams-js-d2040181-a9a1-42d2-9080-35acb3a380cd.json

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

* Update sdf-release.yml for Azure Pipelines (#2292)

* Update sdf-release.yml for Azure Pipelines

* Update sdf-release.yml for Azure Pipelines

* Update custom API test (#2282)

Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Upgrade `pnpm` to v9 (#2301)

* Initial commit

* Update ci

* Update ci

* remove deprecated sub dependencies

* Specify exact version in ci

* Update .npmrc location in release helper scripts (#2303)

* Update .npmrc location

* Changefile

* Update @microsoft-teams-js-b63da2d9-3e02-4b83-9664-78aa8f49c713.json

* use new scripts for onebranch pipelines

---------

Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>

* Update the SDF release yaml (#2308)

* Use inline scripts

* Exclude _manifest artifact from version

* Whitespace

* Removed importing from the entire public index.ts file (#2307)

* cleaned up some imports in the private folder

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>

* Updated  and  e2e tests data in teams-js (#2311)

* Add production pipeline YAML (#2310)

* add prod pipeline

* restrict branches for prod pipeline

* add DDL pipeline

* update routes to properly describe the new page

* Revert "update routes to properly describe the new page"

This reverts commit 7d8a421.

* Revert "Revert "update routes to properly describe the new page""

This reverts commit 53cf983.

---------

Co-authored-by: Trevor Harris <trharris@microsoft.com>
Co-authored-by: Vikram Thanigaivelan <116702367+vikramtha@users.noreply.github.com>
Co-authored-by: Kerryn Frampton <56459261+kerrynf@users.noreply.github.com>
Co-authored-by: sumathin <sum_nat1@yahoo.com>
Co-authored-by: sumathin <sunatara@microsoft.com>
Co-authored-by: noahdarveau-MSFT <109628470+noahdarveau-MSFT@users.noreply.github.com>
Co-authored-by: Jeff Klouda <93734408+jekloudaMSFT@users.noreply.github.com>
Co-authored-by: jadahiya-MSFT <95651173+jadahiya-MSFT@users.noreply.github.com>
Co-authored-by: Shreyas <98348000+shrshindeMSFT@users.noreply.github.com>
Co-authored-by: ndangudubiyyam <90732984+ndangudubiyyam@users.noreply.github.com>
Co-authored-by: Lakhveer Kaur <lakhveerkaur@microsoft.com>
Co-authored-by: Erin <erinha@microsoft.com>
Co-authored-by: AE ( ͡ಠ ʖ̯ ͡ಠ) <36546967+AE-MS@users.noreply.github.com>
Co-authored-by: KangxuanYe <107154810+KangxuanYe@users.noreply.github.com>
Co-authored-by: Stephen Houston <5623311+cloudtx@users.noreply.github.com>
Co-authored-by: sthousto <sthousto@microsoft.com_odspmdb>
Co-authored-by: Ella-ly <85649572+Ella-ly@users.noreply.github.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.

3 participants