instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OfficeDev__Office-Addin-Scripts__112 | OfficeDev/Office-Addin-Scripts | 112 | defect | 025196b18033b3675daee35f2dc358cc12506d19 | 5b35353d07b82e925cac87afadc9cd667334890c | Support for the repeating parameter | Adding support for the new repeating parameter. Also includes more test cases.
Fixes #38 #84 #98 | diff --git a/packages/custom-functions-metadata/src/generate.ts b/packages/custom-functions-metadata/src/generate.ts
index 327e96578..eca0413be 100644
--- a/packages/custom-functions-metadata/src/generate.ts
+++ b/packages/custom-functions-metadata/src/generate.ts
@@ -32,6 +32,7 @@ export interface IFunctionParameter {... | 13 | 11 | 1 | [{"id": "G0", "claim": "Use the less generic env var name CUSTOM_FUNCTION_METADATA_REPEATING instead of REPEATING for the dark-deploy repeating-parameter flag.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "See if a helper function can be used t... | null |
OfficeDev__Office-Addin-Scripts__161 | OfficeDev/Office-Addin-Scripts | 161 | defect | d85da7e9bc0b0433a6b52ce2829ec41cc275e5fb | 32ab25de171a129526774d8b34e3599e130d6671 | Fix for npm run stop to actually stop the running process | Running npm run stop will now stop the running dev server process. This now works from both the command line and the terminal window is VS. When the process is started the process id is written to disk and then is able to be read when the user wants to stop the process.
Also added tests to verify the new functio... | diff --git a/packages/office-addin-debugging/src/start.ts b/packages/office-addin-debugging/src/start.ts
index bf54d202a..c54e62ad2 100644
--- a/packages/office-addin-debugging/src/start.ts
+++ b/packages/office-addin-debugging/src/start.ts
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
... | 8 | 8 | 1 | [{"id": "G0", "claim": "The process-id functions should be named for their purpose (saveDevServerProcessId, readDevServerProcessId, clearDevServerProcessId) rather than their implementation, and the call setting the process id env var should move into the save function.", "category": "design", "verdict": "supported", "... | null |
OfficeDev__Office-Addin-Scripts__362 | OfficeDev/Office-Addin-Scripts | 362 | defect | a067e01a60cdee3c99d17a76e10c7c1f76468ea4 | 65a2eca6fea0e5d8b52f5eb34d0a93014ca9a2cd | Enable Outlook desktop sideloading for Windows | With these changes:
- Office-Add-Scripts will add the manifest path to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Wef\OutlookSideloadManifestPath if the platform is desktop and app is Outlook
- Code also does a check to ensure that the manifest contains a valid Outlook Host element
- Once the value is set, sta... | diff --git a/packages/office-addin-debugging/src/start.ts b/packages/office-addin-debugging/src/start.ts
index 25b6faea2..236bbfbfd 100644
--- a/packages/office-addin-debugging/src/start.ts
+++ b/packages/office-addin-debugging/src/start.ts
@@ -281,6 +281,12 @@ export async function startDebugging(manifestPath: string,... | 10 | 8 | 3 | [{"id": "G0", "claim": "The pull request makes office-addin-dev-settings depend on office-addin-debugging, creating a circular dependency between the two packages that fails the CI build, and there should be no such reverse dependency.", "category": "design", "verdict": "supported", "priority": "P0", "scope": "introduc... | null |
OfficeDev__Office-Addin-Scripts__372 | OfficeDev/Office-Addin-Scripts | 372 | defect | 84a41e5ac569abf6718080ee404d397a7ee1ccca | 308c886df1f2e328b0fbf4046613d3180a4b70af | validate command should throw error if manifest path isn't valid | - Call readManifestFile to ensure manifestPath is valid before calling validateManifest. Catch block will catch error if manifest file path is not a valid file and return error to use (e.g. rror: ENOENT: no such file or directory, open 'C:\Office-Addin-Scripts\packages\office-addin-manifest\foo.xml')
- Fixes issue htt... | diff --git a/packages/office-addin-manifest/src/commands.ts b/packages/office-addin-manifest/src/commands.ts
index 9c4466ad9..ec92f250e 100644
--- a/packages/office-addin-manifest/src/commands.ts
+++ b/packages/office-addin-manifest/src/commands.ts
@@ -129,28 +129,31 @@ export async function modify(manifestPath: string... | 2 | 2 | 1 | [{"id": "G0", "claim": "The manifest path check added to commands.ts belongs in validate.ts instead, where a readManifestFile() call was already prepared commented out, so validate() should not duplicate it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
OfficeDev__Office-Addin-Scripts__375 | OfficeDev/Office-Addin-Scripts | 375 | defect | 0fdedf40b05e38af1149705ad05c2b4d3cb16df5 | a3b13ac813b051a70afaaba37fc4c8104ccac186 | Make app type unrequired for sideload | Make appType param not required for sideload command
- Update sideload cli to reflect type is once again an option, not required
- Update sideloadAddin to make appType optional and revert param ordering for method back to previous method signature so this is not a breaking change
- Update Readme to reflect th... | diff --git a/packages/office-addin-debugging/src/commands.ts b/packages/office-addin-debugging/src/commands.ts
index 837b9ad78..e5aa0402a 100644
--- a/packages/office-addin-debugging/src/commands.ts
+++ b/packages/office-addin-debugging/src/commands.ts
@@ -76,8 +76,7 @@ export async function start(manifestPath: string,... | 3 | 3 | 2 | [{"id": "G0", "claim": "appType can be undefined at this point in startDebugging, so the new log line may print 'App type: undefined'; a check for an undefined appType is needed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Removing the `app-type`... | null |
OfficeDev__Office-Addin-Scripts__426 | OfficeDev/Office-Addin-Scripts | 426 | defect | 9b6ee01a1102299cd7c32326afbb6187a4a534c7 | 53d90a8297b98f5c9184284b282ac2e7df9a5847 | Add linux support to office-addin-dev-certs | Since the last PR https://github.com/OfficeDev/Office-Addin-Scripts/pull/156 is stale, i've created a new PR to make some progress on the linux support topic. | diff --git a/packages/office-addin-debugging/src/port.ts b/packages/office-addin-debugging/src/port.ts
index 64355425e..333be688d 100644
--- a/packages/office-addin-debugging/src/port.ts
+++ b/packages/office-addin-debugging/src/port.ts
@@ -51,7 +51,8 @@ export function getProcessIdsForPort(port: number): Promise<numbe... | 1 | 1 | 0 | [{"id": "G0", "claim": "It would be really nice if contributors could see the failed test output from the CI pipeline, instead of having to set up an Azure account including billing just to replay the pipeline and see why a test failed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_ex... | null |
OfficeDev__Office-Addin-Scripts__466 | OfficeDev/Office-Addin-Scripts | 466 | defect | 6bfd1a45a0b91c5d632126dd006b9ea686f90f9c | a8acdb246279dc3539ec27c7f3c55de9ca9333dd | New is null object rule | Note that the current implementation does not distinguish weather or not a variable is set to the "*OrNullObject" result before it is used in a test . . . only that if a variable is set to the "*OrNullObject" at some point then there test of that object are using the isNullObject property.
It also contains a fix met... | diff --git a/packages/eslint-plugin-office-addins/package-lock.json b/packages/eslint-plugin-office-addins/package-lock.json
index 096ec1168..84797070e 100644
--- a/packages/eslint-plugin-office-addins/package-lock.json
+++ b/packages/eslint-plugin-office-addins/package-lock.json
@@ -7264,9 +7264,9 @@
}
},
... | 8 | 5 | 0 | [{"id": "G0", "claim": "The recommended annotation in no-office-initialize.ts should follow the same formatting pattern as the category annotation.", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The fixable annotation in the new isNullObject rule should f... | null |
OfficeDev__Office-Addin-Scripts__479 | OfficeDev/Office-Addin-Scripts | 479 | defect | ea2c726c51bb4751b11c8b7d86102275d52e94e3 | 720f3dedb73be9f0c5b48fd183635b21a32251ff | Eslint don't call empty load | This is the rule:
"
Calls of load() should specify only the properties needed.
If the specific properties aren't specified, all scalar properties are loaded.
" | diff --git a/packages/eslint-plugin-office-addins/src/main.ts b/packages/eslint-plugin-office-addins/src/main.ts
index 90914472f..f0fa5b5fe 100644
--- a/packages/eslint-plugin-office-addins/src/main.ts
+++ b/packages/eslint-plugin-office-addins/src/main.ts
@@ -49,6 +49,7 @@ module.exports = {
rules: {
"... | 14 | 13 | 2 | [{"id": "G0", "claim": "The rule's message should say \"Calling load without any argument\" instead of \"calling an empty load\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rule's docs description should say \"Calling load without any argu... | null |
OfficeDev__Office-Addin-Scripts__519 | OfficeDev/Office-Addin-Scripts | 519 | defect | bba886c34601d1dc33e7805f47238938a6cd3955 | 2272563a30b97ebb0e2d8a929bb0a1f56a12e179 | Adding a check to see if load is empty | Fixing the exception that fired when load is empty. The error was being fired on other rules and not on the `emptyLoad` rule, that's why our tests didn't catch the error. | diff --git a/packages/eslint-plugin-office-addins/src/rules/no-empty-load.ts b/packages/eslint-plugin-office-addins/src/rules/no-empty-load.ts
index c1710f132..817fd2600 100644
--- a/packages/eslint-plugin-office-addins/src/rules/no-empty-load.ts
+++ b/packages/eslint-plugin-office-addins/src/rules/no-empty-load.ts
@@ ... | 4 | 3 | 1 | [{"id": "G0", "claim": "getLoadArgument should not return an empty string when the load call has no argument; a missing argument and an explicitly empty string are different concepts and should be kept separate.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
OfficeDev__Office-Addin-Scripts__524 | OfficeDev/Office-Addin-Scripts | 524 | defect | 2c2eb16896083c6f0b8658fbdcc4cd434c3c4ef8 | cf3e37093bd33b8b511163b8669004a33c01e064 | Making Eslint package support loading multiple properties | Adding support for linter to work with loads with commas. | diff --git a/packages/eslint-plugin-office-addins/src/rules/call-sync-after-load.ts b/packages/eslint-plugin-office-addins/src/rules/call-sync-after-load.ts
index ef2196d51..a0627ce3f 100644
--- a/packages/eslint-plugin-office-addins/src/rules/call-sync-after-load.ts
+++ b/packages/eslint-plugin-office-addins/src/rules... | 7 | 5 | 1 | [{"id": "G0", "claim": "Rename 'propertiesNames' to 'propertyNames' (no double plural), and likewise in the other files.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the loop parameter 'propertiesSeparatedByComma' to 'argument', since i... | null |
OfficeDev__Office-Addin-Scripts__538 | OfficeDev/Office-Addin-Scripts | 538 | defect | 239d7b6ffb9cb3f71b03a11271bc86c0a7aa4b05 | 13d810c8dcd23c3e2e7c090704954ee61cbc6d34 | Supporting load star to mocking | Added support to load star in the mocking package.
Also fixed a bug where `loadScalar` was not recursively loading properties. It was just loading up to two layers of properties. | diff --git a/packages/office-addin-mock/src/officeMockObject.ts b/packages/office-addin-mock/src/officeMockObject.ts
index 2b9458e63..93fcd7cd2 100644
--- a/packages/office-addin-mock/src/officeMockObject.ts
+++ b/packages/office-addin-mock/src/officeMockObject.ts
@@ -82,6 +82,12 @@ export class OfficeMockObject {
... | 4 | 4 | 2 | [{"id": "G0", "claim": "The loadAllProperties loop needlessly wraps this.properties.keys() in Array.from; iterating the Map directly with forEach would be simpler and easier to read.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replacing the s... | null |
OfficeDev__Office-Addin-Scripts__548 | OfficeDev/Office-Addin-Scripts | 548 | defect | 627e90cbaa6cc7f75ff4e0d1f87e79ce2e6b1043 | d2eb1c547ba5acea17c785e4f846e0bd2590ad41 | Typescript update | Builds started failing because of a typescript update from 4.3 to 4.4 included making the default type of the variable in a catch statement to be 'unknown' instead of 'any'. This was to encourage better coding to look for the correct type of the error instead of assuming it . . . however to unblock things at this poin... | diff --git a/packages/office-addin-debugging/src/commands.ts b/packages/office-addin-debugging/src/commands.ts
index 0539f42f7..71a93ff11 100644
--- a/packages/office-addin-debugging/src/commands.ts
+++ b/packages/office-addin-debugging/src/commands.ts
@@ -105,7 +105,7 @@ export async function start(manifestPath: strin... | 1 | 1 | 1 | [{"id": "G0", "claim": "The catch clauses this PR types as `any` should instead use `unknown`, and the reviewer asks that this be fixed in this PR now rather than left for later.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OfficeDev__Office-Addin-Scripts__581 | OfficeDev/Office-Addin-Scripts | 581 | defect | e6569e2dc9628c978cc33246ab92788ab1961c15 | 33391a3654fe469b1ce66a0812f9eb8abb059e0e | Update validation url | The OMEX teams has asked that we change from a gate to a url param for indicating our manifest validation comes from a dev environment. I have also added a command argument that allows the validation to be done for a production environment. | diff --git a/packages/office-addin-manifest/.vscode/launch.json b/packages/office-addin-manifest/.vscode/launch.json
index 9c0461b93..3f5a7da93 100644
--- a/packages/office-addin-manifest/.vscode/launch.json
+++ b/packages/office-addin-manifest/.vscode/launch.json
@@ -35,7 +35,7 @@
"program": "${workspaceFolder}... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test should not assert an exact error count (`errors!.length === 2`); it should assert only that at least one error is reported, since the count may change in the future.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OfficeDev__Office-Addin-Scripts__584 | OfficeDev/Office-Addin-Scripts | 584 | defect | 0abacd4a943b2c9a127e521fb5254dcdeebdae27 | 9e8d0ca2b87a0e7b544b7c9987a6357ddc2fe6eb | Adding scaffold code to support .json manifests | Making `office-addin-manifest` be able to distinguish `.json` and `.xml` manifests and treat each of them with different functions. | diff --git a/packages/office-addin-manifest/src/manifestHandler/getManifestHandler.ts b/packages/office-addin-manifest/src/manifestHandler/getManifestHandler.ts
new file mode 100644
index 000000000..ea1b90f12
--- /dev/null
+++ b/packages/office-addin-manifest/src/manifestHandler/getManifestHandler.ts
@@ -0,0 +1,18 @@
+... | 10 | 9 | 0 | [{"id": "G0", "claim": "The one-line isJsonFile helper is overkill and should be inlined in getManifestHandler without any confusion.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "getManifestHandler should test for .xml as well as .json instead... | null |
OfficeDev__Office-Addin-Scripts__588 | OfficeDev/Office-Addin-Scripts | 588 | defect | 94f5b10d3d27def495fb51113efa2cdcea5faa9b | a784b328242f3474edff5fcd5603112437cdaa91 | [Minor] Creating an isOutlook option for the object | Creating an outlook flag to pass to the mocking object in order to bypass the need for a property wait for load and sync calls.
Previous to this commit, a property assigned in the constructor of `OfficeAddinMock` would always require a `load` call, which is not needed for Outlook.
Solves this issue: https://github.... | diff --git a/packages/office-addin-mock/src/officeMockObject.ts b/packages/office-addin-mock/src/officeMockObject.ts
index c9c5ab313..8ac4317dd 100644
--- a/packages/office-addin-mock/src/officeMockObject.ts
+++ b/packages/office-addin-mock/src/officeMockObject.ts
@@ -5,9 +5,10 @@ import { isValidError, PossibleErrors ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The author should check with people more familiar with Office.js whether skipping load/sync is really needed across the board for Outlook, since the change applies it to all Outlook usage.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
OfficeDev__Office-Addin-Scripts__666 | OfficeDev/Office-Addin-Scripts | 666 | defect | b19dd99cbeee3534b431ce5222b42438692ecf14 | c6312f9355148997a8ffc69cfd07c42394a8bfba | [Major] Move access token retrieval server side | Thank you for your pull request!
Please add '[major]', '[minor]', or [patch] to the title to indicate the impact the change has on the code. Please also provide the following information.
---
**Change Description**:
Move graph token retrieval from the code running in the client (taskpane) to the code runni... | diff --git a/packages/office-addin-sso/.gitignore b/packages/office-addin-sso/.gitignore
new file mode 100644
index 000000000..13dcf1e5f
--- /dev/null
+++ b/packages/office-addin-sso/.gitignore
@@ -0,0 +1,5 @@
+# Build output
+lib/
+
+# Node modules folder
+node_modules/
\ No newline at end of file
diff --git a/package... | 7 | 7 | 2 | [{"id": "G0", "claim": "The newly added .gitignore file is missing a trailing endline at the end of the file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Removing the types and typeRoots settings from tsconfig.json is questioned as possibly u... | null |
OfficeDev__Office-Addin-Scripts__73 | OfficeDev/Office-Addin-Scripts | 73 | defect | c228ccbca11b239a935159f3f8bd4d433a08b448 | a805ef3f30c7baf57bd499d175d803d09010c856 | Handle duplicate function names | If a duplicate function name is encounter we will add an error to the list of errors. | diff --git a/packages/custom-functions-metadata/src/generate.ts b/packages/custom-functions-metadata/src/generate.ts
index 0c8ffea61..ade99afdf 100644
--- a/packages/custom-functions-metadata/src/generate.ts
+++ b/packages/custom-functions-metadata/src/generate.ts
@@ -149,6 +149,8 @@ export function parseTree(sourceCod... | 8 | 7 | 2 | [{"id": "G0", "claim": "Instead of a top-level `let functionName`, use `const functionName` at the use site initialized with a conditional (`functionDeclaration.name ? functionDeclaration.name.text : \"\"`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
OfficeDev__Office-Addin-Scripts__81 | OfficeDev/Office-Addin-Scripts | 81 | defect | e54f6291ef6ea2d3f51873e3d9d568c79f8f34d8 | 15fb4afb7a5fb070f6fbb9b9f2aa00aeed49b35b | delete result type if equal to any | Default result type is any, so delete if it is determined to be any. | diff --git a/packages/custom-functions-metadata/src/generate.ts b/packages/custom-functions-metadata/src/generate.ts
index fb3c0fefc..fd09feb9a 100644
--- a/packages/custom-functions-metadata/src/generate.ts
+++ b/packages/custom-functions-metadata/src/generate.ts
@@ -271,6 +271,10 @@ export function parseTree(sourceCo... | 1 | 1 | 1 | [{"id": "G0", "claim": "Instead of deleting the result-type asserts for 'any' results, update them to validate that the \"type\" property is not present on result.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OfficeDev__Office-Addin-Scripts__843 | OfficeDev/Office-Addin-Scripts | 843 | defect | 046cf733ee7291e33bc973d912592242932a8e0c | 933d4b3dba392944cebcbabd113e3ee56d3286fb | [minor] Add handling for new @linkedEntityDataProvider and @excludeFromAutoComplete jsdoc tags | **Change Description**:
This PR adds handling for the new @linkedEntityDataProvider and @excludeFromAutoComplete metadata tags needed for 3P Linked Entities in Excel.
2. **Do these changes impact *documentation*?** (e.g., a tutorial on https://learn.microsoft.com/office/dev/add-ins/overview/office-add-ins)
... | diff --git a/packages/custom-functions-metadata/Specification.md b/packages/custom-functions-metadata/Specification.md
index e5d088658..71500f5dd 100644
--- a/packages/custom-functions-metadata/Specification.md
+++ b/packages/custom-functions-metadata/Specification.md
@@ -11,7 +11,9 @@ The function parameter types may ... | 5 | 5 | 1 | [{"id": "G0", "claim": "The new Specification.md section for @linkedEntityDataProvider should say the scalar parameter is of type `unknown` instead of `Any`.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The TypeScript test cases should use the `... | null |
OfficeDev__Office-Addin-Scripts__845 | OfficeDev/Office-Addin-Scripts | 845 | defect | 9987d835ef6434dba17de98bfcdd4830fab42138 | b219f1a28131c262e6605ebd205617339bda8083 | [minor] Add TAOS sideload support for MetaOS WXP | When the manifest is WXP JSON, the following changes are made:
- Switch to TAOS sideload option.
- Launch host directly. | diff --git a/packages/office-addin-dev-settings/src/dev-settings-windows.ts b/packages/office-addin-dev-settings/src/dev-settings-windows.ts
index 858317386..29dd605e3 100644
--- a/packages/office-addin-dev-settings/src/dev-settings-windows.ts
+++ b/packages/office-addin-dev-settings/src/dev-settings-windows.ts
@@ -178... | 10 | 9 | 2 | [{"id": "G0", "claim": "getWXPExePath is almost identical to getOutlookExePath, so there should be one general method to launch exe files used in all cases rather than separate methods for separate cases.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
OfficeDev__Office-Addin-Scripts__907 | OfficeDev/Office-Addin-Scripts | 907 | defect | ecde2fa315023a0054354f9541adaa07c0253d28 | a188ad239516d514dfefc124011ad0d3cc518c64 | [minor] New tag "@CustomEnum" to generate custom enums for custom functions |
**Change Description**:
This PR supports to generate metadata for custom enums tagged with "@CustomEnum" (case-insensitive). More details see /packages/custom-functions-metadata/Specification.md.
1. **Do these changes impact *command syntax* of any of the packages?** (e.g., add/remove command, add/remove a co... | diff --git a/packages/custom-functions-metadata/Specification.md b/packages/custom-functions-metadata/Specification.md
index f4d46a054..34025b75e 100644
--- a/packages/custom-functions-metadata/Specification.md
+++ b/packages/custom-functions-metadata/Specification.md
@@ -11,6 +11,7 @@ The function parameter types may ... | 8 | 6 | 0 | [{"id": "G0", "claim": "The documentation should specify that @customEnum introduces a new usage, is a tag at the same layer as @customfunction, and cannot be decorated by other tags.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An else branch s... | null |
OfficeDev__Office-Addin-Scripts__911 | OfficeDev/Office-Addin-Scripts | 911 | defect | e7656ef59f78ea3196e3e86f9aab0db853b55754 | ca1a45ab41a39005b9471ac2d05cf91d71bcf696 | Enable parse @requiresAddress and @requiresParameterAddresses together with @streaming for custom functions | **Change Description**:
This PR containing the following change:
1. Enable parse @requiresAddress and @requiresParameterAddresses together with @streaming for custom functions
2. Add unit test
1. **Do these changes impact *command syntax* of any of the packages?** (e.g., add/remove command, add/remove a c... | diff --git a/packages/custom-functions-metadata/src/parseTree.ts b/packages/custom-functions-metadata/src/parseTree.ts
index d1e25ff74..9bba202fb 100644
--- a/packages/custom-functions-metadata/src/parseTree.ts
+++ b/packages/custom-functions-metadata/src/parseTree.ts
@@ -21,9 +21,11 @@ export interface IFunction {
ex... | 3 | 2 | 1 | [{"id": "G0", "claim": "The JSDoc tags should be simplified so streaming and non-streaming functions use the same tags (e.g. @requiresParameterAddress), with the metadata generation determining whether the function streams and updating the metadata appropriately while keeping the differing metadata fields as a backward... | null |
OfficeDev__Office-Addin-TaskPane__148 | OfficeDev/Office-Addin-TaskPane | 148 | defect | 899ff40a276e06178cd62a8e820d58d6f254d07a | 34177e976047962803e0801b021c1d447aef2a4f | Fix ie11 test | This should this git the test to compile such that the ie11 test can run correctly and be re-enabled. | diff --git a/.azure-devops/full-pipeline.yml b/.azure-devops/full-pipeline.yml
index c516eb35..18b5b9e1 100644
--- a/.azure-devops/full-pipeline.yml
+++ b/.azure-devops/full-pipeline.yml
@@ -29,19 +29,18 @@ jobs:
parameters:
webView: "edge-legacy"
- # Need to fix tests (use of find-process module... | 1 | 1 | 0 | [{"id": "G0", "claim": "The compiler option \"esModuleInterop\": true added to tsconfig.json should be removed if it is no longer needed now that the find-process code is local.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OfficeDev__generator-office__328 | OfficeDev/generator-office | 328 | defect | cad37a2bc0b38136c36cc53e253b5cdb6006ee9a | 2a66d324b703ed98c0e2cb6cebeece9677d97966 | Custom Functions template now uses webpack-dev-server | - • Custom Functions template now uses webpack-dev-server
- • Certs are now copied overs as part of Custom Functions projects
- • Added config folder to Custom Functions project and will now place the manifest there, as well as a web.config file I added to enable CORs and JSON (see attached)
- o Please let me know i... | diff --git a/package-lock.json b/package-lock.json
index ee95357d..a5697114 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -55,8 +55,8 @@
"integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==",
"dev": true,
"requires": {
- "m... | 5 | 4 | 3 | [{"id": "G0", "claim": "The Travis CI build of this pull request is failing and akrantz asks TCourtneyOwen to find out why (and fix it).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "In a separate PR, the copy logic in index.ts could be improved to... | null |
OfficeDev__microsoft-teams-library-js__1131 | OfficeDev/microsoft-teams-library-js | 1,131 | defect | c50329870ed22f885ee623d2fb4626bdccba49cf | 2d52eb86bf2454dc6769856723720bbad1ae88f2 | shrshinde/isSupported-teams-check | - Adding `isSupported` check to teams capability
- Adding `isSupported` unit test cases
- Cleaning up teams unit test cases. | diff --git a/change/@microsoft-teams-js-6c4b6df6-ff55-4a5d-8ada-aeced0b34d01.json b/change/@microsoft-teams-js-6c4b6df6-ff55-4a5d-8ada-aeced0b34d01.json
new file mode 100644
index 0000000000..615811af10
--- /dev/null
+++ b/change/@microsoft-teams-js-6c4b6df6-ff55-4a5d-8ada-aeced0b34d01.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add tests for `isSupported` to this pull request, since the PR is technically about ensuring `isSupported` is called and it seems appropriate to have those tests as part of it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OfficeDev__microsoft-teams-library-js__1214 | OfficeDev/microsoft-teams-library-js | 1,214 | defect | ad7b687b290bbc4004c1056377b18848e2e9e0ca | 90d44b8007213ba78a5e57ced305de2dd20cb35b | Get web storage capabilities | 1. The API allows apps to discover if web storage is supported by the host client.
2. Currently, assignments app needs this API to identify if the Teams client (specifically Mobile) provides web storage support. Based on that Assignment can decide if they want to store the data or not.
3. Newer Teams mobile client... | diff --git a/apps/teams-test-app/src/App.tsx b/apps/teams-test-app/src/App.tsx
index a930bebc5f..ca3feaacfc 100644
--- a/apps/teams-test-app/src/App.tsx
+++ b/apps/teams-test-app/src/App.tsx
@@ -34,6 +34,7 @@ import TeamsAPIs from './components/privateApis/TeamsAPIs';
import RemoteCameraAPIs from './components/RemoteC... | 9 | 8 | 6 | [{"id": "G0", "claim": "Please add reference documentation comments to the new functions in storage.ts (isWebStorageClearedOnUserLogOut and isSupported) describing what they do.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Update the change file... | null |
OfficeDev__microsoft-teams-library-js__1217 | OfficeDev/microsoft-teams-library-js | 1,217 | defect | efa36bf35f295b4ee557ee91f457c302bdf3eae8 | 689414ec5f8edfb7dc40bc97771d98be1d3e8562 | check if submitHandler exists before calling it | It was a bug in dialog file, where an optional callback submitHadler was called without checking if it exists. The issue was reported on github: https://github.com/OfficeDev/microsoft-teams-library-js/issues/1210 | diff --git a/change/@microsoft-teams-js-0cceb483-48e4-4214-92f0-88ffa362f792.json b/change/@microsoft-teams-js-0cceb483-48e4-4214-92f0-88ffa362f792.json
new file mode 100644
index 0000000000..25cc70cb52
--- /dev/null
+++ b/change/@microsoft-teams-js-0cceb483-48e4-4214-92f0-88ffa362f792.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 2 | 2 | 1 | [{"id": "G0", "claim": "The handler for `messageForParent` should still be removed even when no submitHandler was provided.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new fallback value should be `undefined` rather than `null`, or a reason f... | null |
OfficeDev__microsoft-teams-library-js__1251 | OfficeDev/microsoft-teams-library-js | 1,251 | defect | 5571a9a8c6e4b776a8cb71a57fca25f7b04ec3d7 | adc1a5c740543b98775770b75069be89426b4825 | 3p cloud storage provider action API improvements | 3p cloud storage provider action API improvements
An improvement over changes of [This PR](https://github.com/OfficeDev/microsoft-teams-library-js/pull/1152).
Split a single a single action API into following 3 APIs:
1. Delete 2. Download 3. Upload
Corresponding Task : [Task Link](https://domoreexp.visualstudi... | diff --git a/change/@microsoft-teams-js-d548f18c-2998-4465-94f5-1d4edfde9668.json b/change/@microsoft-teams-js-d548f18c-2998-4465-94f5-1d4edfde9668.json
new file mode 100644
index 0000000000..37a13432ee
--- /dev/null
+++ b/change/@microsoft-teams-js-d548f18c-2998-4465-94f5-1d4edfde9668.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 4 | 3 | 2 | [{"id": "G0", "claim": "The new delete/download/upload APIs should validate that itemList is present and non-null/non-empty and that its entries are files and not directories.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The upload API should also... | null |
OfficeDev__microsoft-teams-library-js__1267 | OfficeDev/microsoft-teams-library-js | 1,267 | defect | 02c8a82b76d12fc7f9af12133be8f4807ef87ed2 | e51c56b87311a3d1fe7f8c1c4678c3c882af1dc2 | Arocc/register speaking state changed add error | Updating registerSpeakingStateChangeHandler API to align with other meeting APIs that register a handler:
- Add optional error object in case any failure | diff --git a/apps/teams-test-app/src/components/MeetingAPIs.tsx b/apps/teams-test-app/src/components/MeetingAPIs.tsx
index 668c64fc94..7c3a2722f3 100644
--- a/apps/teams-test-app/src/components/MeetingAPIs.tsx
+++ b/apps/teams-test-app/src/components/MeetingAPIs.tsx
@@ -204,8 +204,13 @@ const RegisterSpeakingStateChang... | 2 | 2 | 1 | [{"id": "G0", "claim": "The change file's comment title and value are empty and should be filled in, otherwise the Changelog won't have information on this change.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since registerSpeakingStateChangeHan... | null |
OfficeDev__microsoft-teams-library-js__130 | OfficeDev/microsoft-teams-library-js | 130 | defect | ce7dd6b63708dbd596458fa00c093eb440c7df72 | 6db35b7dd70862d8e6c3d88c312130cb0870740f | Added sendCustomMessage function for sending custom messages to Teams | This PR adds a new exported function `sendMessage` which allows tabs to send custom messages to Teams. | diff --git a/src/MicrosoftTeams.ts b/src/MicrosoftTeams.ts
index 6d13dcd489..d045ce52eb 100644
--- a/src/MicrosoftTeams.ts
+++ b/src/MicrosoftTeams.ts
@@ -1996,6 +1996,21 @@ namespace microsoftTeams {
return request.id;
}
+ /**
+ * Sends a custom action message to Teams.
+ * @param actionName Specifies n... | 1 | 1 | 0 | [{"id": "G0", "claim": "The exported function name sendMessage is too generic and can be confused with the existing generic postMessage/sendMessage APIs, so it should be renamed to sendCustomMessage.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OfficeDev__microsoft-teams-library-js__1333 | OfficeDev/microsoft-teams-library-js | 1,333 | defect | 340441a17b087a7f720508be4b51a1cd1455ab25 | ec803809f1851bf58ddfc19a36d76401619ab8b5 | 3p cloud storage provider upload action API fixes | ## Description
This PR has following three changes and corresponding test code update
1. Renamed filePath field to webkitRelativePath : This is required because the Blob object has specific fields which needs to be retained for passing the blob object from consuming app (One Drive File Browser in this case) to the SD... | diff --git a/change/@microsoft-teams-js-f9182c21-8a37-405a-9fa4-9d394fece0dd.json b/change/@microsoft-teams-js-f9182c21-8a37-405a-9fa4-9d394fece0dd.json
new file mode 100644
index 0000000000..a6fb7675ee
--- /dev/null
+++ b/change/@microsoft-teams-js-f9182c21-8a37-405a-9fa4-9d394fece0dd.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 5 | 3 | 0 | [{"id": "G0", "claim": "Code references such as filePath and webkitRelativePath in the change-file comment should be surrounded by backticks.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Commented-out unit tests should not be checked in.", "cate... | null |
OfficeDev__microsoft-teams-library-js__138 | OfficeDev/microsoft-teams-library-js | 138 | defect | a50043aa8a26808b75c3e81591133fd01e920133 | 5aff532afad29f662aa7e0ea31e569b2dacb1e19 | adding print capability to client sdk, App can register custom print handler. | adding print capability to client sdk,
1. By default we it will be disabled App need to call microsoftTeams.enablePrintCapability()
2. microsoftTeams.printHandler:
App can register custom print handler otherwise by default it will call window.print.
It support
2.1. Ctrl+P
2.2. Cmd+P (mac)
and 2.3. by callin... | diff --git a/src/MicrosoftTeams.ts b/src/MicrosoftTeams.ts
index 912f25eed1..33c794d59d 100644
--- a/src/MicrosoftTeams.ts
+++ b/src/MicrosoftTeams.ts
@@ -38,6 +38,18 @@ interface Window {
onNativeMessage(evt: MessageEvent): void;
}
+/**
+ * adding ctrl+P and cmd+P handler
+ */
+document.addEventListener("keydown... | 8 | 7 | 1 | [{"id": "G0", "claim": "The keydown handler should only be registered when printing is enabled, both for performance reasons and to avoid interfering with any similar logic the developer might already have on their page.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G... | null |
OfficeDev__microsoft-teams-library-js__1413 | OfficeDev/microsoft-teams-library-js | 1,413 | defect | 74858a05f0890326c906995016423d15523f6b2b | f00ed4045f3f83ef1f44f4af8bba686120f82cd0 | Trharris/newdomains | ## Description
Added two new `validOrigins` so that apps can begin to be used in those domains. The two new origins are:
1. www.microsoft365.com
2. *.www.microsoft365.com (for pre-production environments)
### Main changes in the PR:
1. Added two new origins to `validOrigins` list
2. Updated the list of or... | diff --git a/change/@microsoft-teams-js-a5a46554-add3-4b49-88e9-5cbf91e29cb2.json b/change/@microsoft-teams-js-a5a46554-add3-4b49-88e9-5cbf91e29cb2.json
new file mode 100644
index 0000000000..2ef055a6da
--- /dev/null
+++ b/change/@microsoft-teams-js-a5a46554-add3-4b49-88e9-5cbf91e29cb2.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 5 | 3 | 0 | [{"id": "G0", "claim": "The '*.www.office.com' entry in validOrigins should be placed before 'www.office.com' (near line 140) rather than after the plain office.com entries.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The test entries 'http... | null |
OfficeDev__microsoft-teams-library-js__144 | OfficeDev/microsoft-teams-library-js | 144 | defect | ec885ddaa95a94a9b33e4fcbdd7bd9f6442c711d | 4bd48bdfc3899cafefe31e00af0cc8d4df539123 | Saching/release 1.3.7 | Adding these change to the code of branch release-1.3.6 to prepare release-1.3.7 | diff --git a/README.md b/README.md
index 75c7f8cac0..4636ddaf9a 100644
--- a/README.md
+++ b/README.md
@@ -46,10 +46,10 @@ Reference the library inside of your `.html` page using:
```html
<!-- Microsoft Teams JavaScript API (via CDN) -->
-<script src="https://unpkg.com/@microsoft/teams-js@1.3.6/dist/MicrosoftTeams.... | 1 | 1 | 1 | [{"id": "G0", "claim": "The version that the SDK reports from initialize should also be bumped, and that update is missing from the PR (it still reports 1.3.6).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OfficeDev__microsoft-teams-library-js__1462 | OfficeDev/microsoft-teams-library-js | 1,462 | defect | 9221e409fea5529886d0b6abb497011f2e286ad7 | b21dd28c7212b64db937d688c511294b0d2b8dc7 | Add dataResidency interface in the SDK within getUser API | For more information about how to contribute to this repo, visit [this page](https://github.com/OfficeDev/microsoft-teams-library-js/blob/main/CONTRIBUTING.md).
## Description
### Main changes in the PR:
1. Added `dataResidency` interface in teams-js SDK within `getUser` API. Exposed a limited set of data resi... | diff --git a/change/@microsoft-teams-js-9e642ffe-0bf6-4775-a92f-99a31e897e32.json b/change/@microsoft-teams-js-9e642ffe-0bf6-4775-a92f-99a31e897e32.json
new file mode 100644
index 0000000000..226da3b946
--- /dev/null
+++ b/change/@microsoft-teams-js-9e642ffe-0bf6-4775-a92f-99a31e897e32.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 7 | 6 | 1 | [{"id": "G0", "claim": "The public enum should not carry the host-side 'Slim' name; it should just be `DataResidency` here in teams-js.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider a separate enum value to distinguish 'the host gave a data res... | null |
OfficeDev__microsoft-teams-library-js__1637 | OfficeDev/microsoft-teams-library-js | 1,637 | defect | 509caaf78e29f69c94b8e75d04e151d71f79f455 | ebf1fb9834cbce2eeeba783a83995c3e34427d99 | Use a different event name when calling video.mediaStream.registerForVideoFrame | ## Description
When incidentally calling both video.registerForVideoFrame and video.mediaStream.registerForVideoFrame, two events with the same name are sent to the host and the host can't identify what triggered the event.
### Main changes in the PR:
Changed the event name to "video.mediaStream.registerForVideoFr... | diff --git a/change/@microsoft-teams-js-ad46a5c7-5cc0-4176-8539-0b126be3e1f5.json b/change/@microsoft-teams-js-ad46a5c7-5cc0-4176-8539-0b126be3e1f5.json
new file mode 100644
index 0000000000..de1454bf8a
--- /dev/null
+++ b/change/@microsoft-teams-js-ad46a5c7-5cc0-4176-8539-0b126be3e1f5.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 3 | 3 | 0 | [{"id": "G0", "claim": "The new test title misspells \"registeration\" and should read \"registration\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The changelog entry comment does not follow the repo's public changelog format (past tense and ... | null |
OfficeDev__microsoft-teams-library-js__1683 | OfficeDev/microsoft-teams-library-js | 1,683 | defect | 59f1883a0f64c18879c0bf27bbe95e89ff61028a | ff0bfee62d1a0c22f16d080b3dc096fd7a0dca39 | Trharris origins | ## Description
Removing some valid origins from our list
### Main changes in the PR:
1. Removed origins
2. Updated unit tests
## Validation
### Validation performed:
1. Unit tests run
### Unit Tests added:
No, but unit tests updated
### End-to-end tests added:
No
## Additional Requirem... | diff --git a/change/@microsoft-teams-js-41c6df5e-9fff-4e5e-b7b5-e745ecb0e9e9.json b/change/@microsoft-teams-js-41c6df5e-9fff-4e5e-b7b5-e745ecb0e9e9.json
new file mode 100644
index 0000000000..27f8945709
--- /dev/null
+++ b/change/@microsoft-teams-js-41c6df5e-9fff-4e5e-b7b5-e745ecb0e9e9.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment field in the beachball change file should be rewritten in past tense.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OfficeDev__microsoft-teams-library-js__182 | OfficeDev/microsoft-teams-library-js | 182 | defect | 72a209d6f37175865306078c71e165e53c51a17c | 4b8da338f6330b173b2a12fe64ff673582ecb467 | Added support for conversational subEnities inside tabs | We are adding 3 new functions to support conversational subEntities inside tabs.
- startConversation(): This will be used to start a new conversation. The conversation Id will be sent back to the developer.
- showConversation(): This will be used to show an existing conversation in the right pane. The subEntity I... | diff --git a/src/MicrosoftTeams.ts b/src/MicrosoftTeams.ts
index 37be149eea..1930d3fa51 100644
--- a/src/MicrosoftTeams.ts
+++ b/src/MicrosoftTeams.ts
@@ -2329,3 +2329,90 @@ export function getChatMembers(
const messageId = sendMessageRequest(parentWindow, "getChatMembers");
callbacks[messageId] = callback;
}
+
... | 5 | 5 | 4 | [{"id": "G0", "claim": "The onCloseConversation callback fires without any conversationId or subEntityId, and developers may need that information (e.g. to change an icon state or log), so the close callback should also provide it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
OfficeDev__microsoft-teams-library-js__1877 | OfficeDev/microsoft-teams-library-js | 1,877 | defect | 7904b37f3e6dba38f05b292c4a82ba107f218a91 | 2a8010f2d8c6fadc84fe1630f9dcaddaf7d13eac | Updated appNotification TestApp | Changes included:
1) I made updates to the testApp, which allows for the displayAppNotification textbox to accept a string type URL.
2) I also included an e2e test data file, although we aren't conducting automated end to end testing, I set it up for future use/reference.
3) I also made a change to the message being... | diff --git a/apps/teams-test-app/e2e-test-data/appNotification.json b/apps/teams-test-app/e2e-test-data/appNotification.json
new file mode 100644
index 0000000000..426f00ff8e
--- /dev/null
+++ b/apps/teams-test-app/e2e-test-data/appNotification.json
@@ -0,0 +1,26 @@
+{
+ "name":"AppNotification",
+ "version":">=2.14.... | 2 | 2 | 1 | [{"id": "G0", "claim": "The change file's comment should not say this PR is introducing the new `appNotification` capability in teams-js, since the PR only fixes typos and bugs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sample URL https:/... | null |
OfficeDev__microsoft-teams-library-js__2091 | OfficeDev/microsoft-teams-library-js | 2,091 | defect | ed6c02d3e49ce3e5e3c55484fb2f51c766a289ca | 94343158c940f9689fd3320c99713d58188ed1ad | External app namespaces: interface update and input validation | For more information about how to contribute to this repo, visit [this page](https://github.com/OfficeDev/microsoft-teams-library-js/blob/main/CONTRIBUTING.md).
## Description
Mark composeExtension propery on IQueryMessageExtensionResponse as optional and add input validation for external app APIs.
### Main ch... | diff --git a/change/@microsoft-teams-js-ff815d37-beb3-4aba-a561-f6802208de9d.json b/change/@microsoft-teams-js-ff815d37-beb3-4aba-a561-f6802208de9d.json
new file mode 100644
index 0000000000..35df97930c
--- /dev/null
+++ b/change/@microsoft-teams-js-ff815d37-beb3-4aba-a561-f6802208de9d.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 4 | 2 | 1 | [{"id": "G0", "claim": "The change file's comment should also mention the additional input validation this pull request adds, not only the optional `composeExtension` property.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change file's comme... | null |
OfficeDev__microsoft-teams-library-js__222 | OfficeDev/microsoft-teams-library-js | 222 | defect | ebc737769131b9c0d0b267a5a851f1b2d06dddf5 | 1352a97099d4aa1edb9164c1558068fee2403085 | Add the capability to use conversational subentity APIs in a personal app scope | Changes to allow the API to be used in the personal app scope:
- The developer can now send in the thread Id and the entity Id while calling openConversation. This is so that in a personal scope we can start / open a conversation for the subentity in a tab in a particular team.
- We will send back the threadId an... | diff --git a/src/internal/globalVars.ts b/src/internal/globalVars.ts
index 4f8e189e5c..f511b37f50 100644
--- a/src/internal/globalVars.ts
+++ b/src/internal/globalVars.ts
@@ -24,6 +24,6 @@ export class GlobalVars {
public static backButtonPressHandler: () => boolean;
public static beforeUnloadHandler: (readyToUnl... | 4 | 2 | 1 | [{"id": "G0", "claim": "The fields of the onStart/onCloseConversation handlers must be passed in the same order in the Teams host code as in the handler signatures.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The handler parameter is misspelled '... | null |
OfficeDev__microsoft-teams-library-js__2230 | OfficeDev/microsoft-teams-library-js | 2,230 | defect | 63a53ff6fe2f8c08e7f2ef37b8d54139d0bbf0cb | 28dcce518619b51d4fd0b7a39486c3c2bf9bef99 | Implementing the externalAppCommands API | For more information about how to contribute to this repo, visit [this page](https://github.com/OfficeDev/microsoft-teams-library-js/blob/main/CONTRIBUTING.md).
## Description
Adds the 1P internal-only externalAppCommands API for delegating certain actions to the host.
> If this Pull Request should close/resol... | diff --git a/apps/teams-test-app/src/App.tsx b/apps/teams-test-app/src/App.tsx
index 70a670516b..ffcb0b9fe7 100644
--- a/apps/teams-test-app/src/App.tsx
+++ b/apps/teams-test-app/src/App.tsx
@@ -38,6 +38,7 @@ import PeopleAPIs from './components/PeopleAPIs';
import ChatAPIs from './components/privateApis/ChatAPIs';
i... | 16 | 14 | 4 | [{"id": "G0", "claim": "The externalAppCommands data model should be updated to the new interface from Arun's wave 2 doc.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The processActionCommand doc comment is an incomplete sentence, should follow the ext... | null |
OfficeDev__microsoft-teams-library-js__2240 | OfficeDev/microsoft-teams-library-js | 2,240 | defect | 435d7923442e3455a807d96ac6e669359be9dc1e | daed3b92bcb9f999f5378b2fa335ad16af7101f3 | Adding UUIDs to MessageRequests and MessageResponses | For more information about how to contribute to this repo, visit [this page](https://github.com/OfficeDev/microsoft-teams-library-js/blob/main/CONTRIBUTING.md).
## Description
> Summarize the changes, including the goals and reasons for this change. Be sure to call out any technical or behavior changes that revie... | diff --git a/change/@microsoft-teams-js-acd75970-b390-4cfe-b488-4bd6f51f723e.json b/change/@microsoft-teams-js-acd75970-b390-4cfe-b488-4bd6f51f723e.json
new file mode 100644
index 0000000000..a4829ea0e6
--- /dev/null
+++ b/change/@microsoft-teams-js-acd75970-b390-4cfe-b488-4bd6f51f723e.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 14 | 12 | 2 | [{"id": "G0", "claim": "Message interfaces should use string to represent UUIDs on the wire, while all other internal uses should use a strongly-typed UUID object that is created when messages are deserialized and turned back into a string when serialized.", "category": "design", "verdict": "supported", "priority": "P2... | null |
OfficeDev__microsoft-teams-library-js__238 | OfficeDev/microsoft-teams-library-js | 238 | defect | 4bb5ccbdf1397563e652aeaa2e9b5f055199d671 | 0f5a75bf01a85662bdb78f1060b090c357976e52 | [Merge feature branch to master branch] Implement APIs to support JSON Tabs | Starting this PR on behalf of interns(adrian, Ashley, Faiz,) working on JSON tabs | diff --git a/src/public/bot.ts b/src/public/bot.ts
new file mode 100644
index 0000000000..e28bbfffa3
--- /dev/null
+++ b/src/public/bot.ts
@@ -0,0 +1,87 @@
+import { GlobalVars } from '../internal/globalVars';
+import { ensureInitialized, sendMessageRequest } from '../internal/internalAPIs';
+
+/**
+ * @private
+ * Nam... | 6 | 4 | 1 | [{"id": "G0", "claim": "Add empty lines between each interface definition in bot.ts for better readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the \"I\" prefix from ICommand and IAttachment (i.e. Command, Attachment) since non... | null |
OfficeDev__microsoft-teams-library-js__2448 | OfficeDev/microsoft-teams-library-js | 2,448 | defect | 38fcac8aba8c4b42651f4f8ce7d00b083c8f6351 | 4ccf2d015bbf00a01242f32622d2320415dfd941 | Added copilot.eligibility capability | For more information about how to contribute to this repo, visit [this page](https://github.com/OfficeDev/microsoft-teams-library-js/blob/main/CONTRIBUTING.md).
## Description
> This PR adds a `copilot.eligibility` capability that provides information about whether the user is eligible to use the copilot app. The... | diff --git a/apps/teams-test-app/src/components/privateApis/CopilotAPIs.tsx b/apps/teams-test-app/src/components/privateApis/CopilotAPIs.tsx
new file mode 100644
index 0000000000..87e2233607
--- /dev/null
+++ b/apps/teams-test-app/src/components/privateApis/CopilotAPIs.tsx
@@ -0,0 +1,31 @@
+import { copilot } from '@mi... | 12 | 11 | 2 | [{"id": "G0", "claim": "Importing the private AppEligibilityInformation into the public interfaces file and exposing it on the public HostVersionsInfo is flagged as a public-to-private dependency, and the interface should be made a public interface in the public folder instead.", "category": "design", "verdict": "suppo... | null |
OfficeDev__microsoft-teams-library-js__261 | OfficeDev/microsoft-teams-library-js | 261 | defect | cdcf1c6c72c4d81cf6314ac92d0297e6f369aa8f | 00e174b1dac42c7e55f129a03951bd22f9f5d426 | Add support for app load handling | Adding load handler to be used in application caching in Teams and also give notification to apps that their app is about to be loaded and shown to the user. | diff --git a/src/internal/globalVars.ts b/src/internal/globalVars.ts
index 6f78f8b8c2..faabd28809 100644
--- a/src/internal/globalVars.ts
+++ b/src/internal/globalVars.ts
@@ -1,5 +1,5 @@
import { MessageRequest } from './interfaces';
-import { ConversationResponse } from '../public/interfaces';
+import { ConversationR... | 3 | 3 | 0 | [{"id": "G0", "claim": "The JSDoc @param description for the new load-handler API contains the typo 'isloaded' and should read 'is loaded'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new public API registerLoadHandler should be renamed to ... | null |
OfficeDev__microsoft-teams-library-js__269 | OfficeDev/microsoft-teams-library-js | 269 | defect | 391548623a37c9e992386d988ae3945244601330 | 62cfb59a1110109660598ef58ef65581bf76b447 | preparing release 1.5.1 | With CI/CD these are additional changes required on top of master branch inorder to release prod version of npm package. | diff --git a/README.md b/README.md
index 1e5fabcc7f..7e35cca434 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ To install the stable version:
#### Production
-You can access [these files on unpkg](https://unpkg.com/@microsoft/teams-js@1.4.1/dist/MicrosoftTeams.min.js), download them, or point your packag... | 1 | 1 | 1 | [{"id": "G0", "claim": "Can we add the integrity hash to the CDN script tag in README.md?", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
OfficeDev__microsoft-teams-library-js__331 | OfficeDev/microsoft-teams-library-js | 331 | defect | 0c17d332dd995f7d9ef457cf808682060beefb6d | 34abda27bcf39807624f260e9ea39713876ec344 | Media APIs for webapps | We are adding a new API select attachment which will enable apps to take image and select image from gallery from the platform | diff --git a/src/internal/globalVars.ts b/src/internal/globalVars.ts
index 8e3a6a9268..a3501d26c6 100644
--- a/src/internal/globalVars.ts
+++ b/src/internal/globalVars.ts
@@ -1,5 +1,5 @@
import { MessageRequest } from './interfaces';
-import { ConversationResponse, LoadContext } from '../public/interfaces';
+import { ... | 16 | 9 | 3 | [{"id": "G0", "claim": "The GlobalVars.getMediaHandler global is unnecessary since the callback is available in the closure, and concurrent getMedia calls could corrupt state, so it should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
OfficeDev__microsoft-teams-library-js__407 | OfficeDev/microsoft-teams-library-js | 407 | defect | be56aa7d9d43252ce41a888effb6807e9c9835e9 | 7acb68d4c0c9abfbb3c482c4b7bc7c7b5303d580 | App button hover enter and leave APIs | Previous single app button hover api was not sufficient. Both a hover enter and hover leave API are now added to allow the sdk consumer to engage functionality both when entering hover and leaving hover. | diff --git a/src/internal/globalVars.ts b/src/internal/globalVars.ts
index 4e0dfb1b39..3c327c7fee 100644
--- a/src/internal/globalVars.ts
+++ b/src/internal/globalVars.ts
@@ -36,5 +36,6 @@ export class GlobalVars {
public static onCloseConversationHandler: (conversationResponse: ConversationResponse) => void;
pub... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new app button hover enter and leave handlers should pass FrameContexts.content to ensureInitialized so that developers get notified when calling these APIs from an unsupported frame context, since they should only be supported in FrameContexts.content.", "category": "design", "verdict": "su... | null |
OfficeDev__microsoft-teams-library-js__421 | OfficeDev/microsoft-teams-library-js | 421 | defect | 3b452356a1ff1567ac01f53c72e337f44961d769 | 144965e4c98f27b66389560b3954ac693c561b77 | Added meeting namespace and required APIs to enable send command to meet room | In order to enable room control feature on Teams app between mobile
client and room device, added a "meeting" namespace and related APIs
under private folder, including send command, fetch meeting room info,
capabilities and states update handlers, as well as corresponding data
structure. Several unit tests add... | diff --git a/src/private/index.ts b/src/private/index.ts
index c415667818..e46e95abe7 100644
--- a/src/private/index.ts
+++ b/src/private/index.ts
@@ -9,6 +9,9 @@ export {
TeamInstanceParameters,
ThreadMember,
UserJoinedTeamsInformation,
+ MeetingRoomInfo,
+ MeetingRoomCapability,
+ MeetingRoomState,
} fro... | 12 | 11 | 1 | [{"id": "G0", "claim": "getPairedMeetingRoomInfo's callback needs a way to signal failure for scenarios where there is no paired meeting room (error handling).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "handleMeetingRoomStatesUpdate should not s... | null |
OfficeDev__microsoft-teams-library-js__464 | OfficeDev/microsoft-teams-library-js | 464 | defect | 10615b8855d871a081f8649e2b82c7fcb09f9160 | 0024cc9bc1bab7be7927dc645d8fcf9e5c4baeb7 | Listen to child frame messages on frameless windows | In the initialize method, the event listener for frame messages seems to only be registered if the current window has a parent window. Otherwise, the code considers the window as a "frameless window" (i.e mobile app), and does not register the event listener.
For our app setup on mobile, we have nested frames (an if... | diff --git a/src/internal/internalAPIs.ts b/src/internal/internalAPIs.ts
index 59c4c7bd31..3eea11048a 100644
--- a/src/internal/internalAPIs.ts
+++ b/src/internal/internalAPIs.ts
@@ -202,10 +202,17 @@ function shouldProcessMessage(messageSource: Window, messageOrigin: string): boo
function updateRelationships(messageS... | 4 | 3 | 2 | [{"id": "G0", "claim": "The new noParentOrMessageIsFromParent/isParentMessage/isChildMessage variables in updateRelationships are inaccurately named and confusing; rename them to something more accurate and descriptive or inline the logic so readers can focus on it.", "category": "maintainability", "verdict": "supporte... | null |
OfficeDev__microsoft-teams-library-js__470 | OfficeDev/microsoft-teams-library-js | 470 | defect | f2b33e1498d127440c44c4d8d5bdf456a20d93b9 | 15ab5bdf98034c8d6cf005e11143dce41c825d69 | Update meetingAudio namespace to meeting | @ydogandjiev as discussed, I am updating the name of the namespace to "meeting" from "meetingAudio" | diff --git a/src/private/index.ts b/src/private/index.ts
index 68a691216f..c88e821b35 100644
--- a/src/private/index.ts
+++ b/src/private/index.ts
@@ -26,4 +26,4 @@ export {
} from './privateAPIs';
export { conversations } from './conversations';
export { meetingRoom } from './meetingRoom';
-export { meetingAudio } ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The `meeting` namespace should perhaps be renamed to the plural `meetings` for consistency with the other plural namespaces like `conversations` and `settings`.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The meeting APIs will be... | null |
OfficeDev__microsoft-teams-library-js__483 | OfficeDev/microsoft-teams-library-js | 483 | defect | 852cad8a277f5647c7be140abc6d13e5b7bb8ada | 6f035008c8e85a0ebfe408045a4b1a49941ea08a | Fix partial response messages for nested frame setup | Related PR https://github.com/OfficeDev/microsoft-teams-library-js/pull/459
The above PR introduces the notion of partial responses. This is for Teams SDK calls that require more than 1 response from Teams to fully complete the request (i.e `getMedia`). However, there is a problem when there are nested frames that a... | diff --git a/src/internal/interfaces.ts b/src/internal/interfaces.ts
index c5425b776e..f518d3a12f 100644
--- a/src/internal/interfaces.ts
+++ b/src/internal/interfaces.ts
@@ -37,6 +37,7 @@ export interface MessageRequest {
export interface MessageResponse {
id: number;
args?: any[]; // tslint:disable-line:no-any... | 2 | 2 | 1 | [{"id": "G0", "claim": "Appending isPartialResponse as an extra argument to every callback invoked in handleParentMessage is unnecessary and bad design; a callback should not have to handle this property itself.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
OfficeDev__microsoft-teams-library-js__560 | OfficeDev/microsoft-teams-library-js | 560 | defect | c88fd2571bc25a782892977160a9bf1aebf05485 | 6eacc693f71be66d119d9e26e627559fa8c19e67 | Adding video extensibility API to Teams SDK | In this PR we added the video extensibility to Teams SDK, with this customer can develop it's own video effect. | diff --git a/src/public/index.ts b/src/public/index.ts
index 1d630788c8..dee0c617c4 100644
--- a/src/public/index.ts
+++ b/src/public/index.ts
@@ -43,3 +43,4 @@ export { media } from './media';
export { location } from './location';
export { meeting } from './meeting';
export { people } from './people';
+export { vi... | 6 | 6 | 3 | [{"id": "G0", "claim": "It is unclear whether 'sidePanel' and 'meetingStage' are the correct frame contexts for video extensibility in registerForVideoFrame.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The VideoFrame stride fields (lumaStride, chromaS... | null |
OfficeDev__microsoft-teams-library-js__585 | OfficeDev/microsoft-teams-library-js | 585 | defect | a352ba29011c3683aec4455f1bdc8ab79aa69369 | 887956a1aba9dad07b57f78d5985951dd0086f38 | Get a team's channels by providing teamId API | The following PR introduces the following new private API
`teams.getTeamsChannels`
This will be privateAPI that will be nested under `teams` namespace. It will be allowed only for 1P apps. | diff --git a/src/private/teams.ts b/src/private/teams.ts
new file mode 100644
index 0000000000..e1073d0b6f
--- /dev/null
+++ b/src/private/teams.ts
@@ -0,0 +1,49 @@
+import { sendMessageToParent } from '../internal/communication';
+import { ensureInitialized } from '../internal/internalAPIs';
+import { FrameContexts, S... | 4 | 3 | 0 | [{"id": "G0", "claim": "The API only retrieves the channels for one team at a time, so the function should be named `getTeamChannels` rather than `getTeamsChannels`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asked whether all f... | null |
OfficeDev__microsoft-teams-library-js__750 | OfficeDev/microsoft-teams-library-js | 750 | defect | 2d7e348562f6e543919fcb4d22e4c6c92463aead | 9b91cfda5e17e5f9d739e9a55a5d83f93698d2dc | Support for outputFileFormats in imageProps in selectMedia API | **Introduced selectMedia to support imageOutputFormats for Image Media Type**
* This feature is natively supported by both iOS and Android platforms as is part of the Lens flow
* Requirement of the feature for MVP is
* Let the developer specify the output format (Image and PDF). Based on the format in JS SDK,... | diff --git a/src/public/media.ts b/src/public/media.ts
index bd35b6c24f..20454de78c 100644
--- a/src/public/media.ts
+++ b/src/public/media.ts
@@ -296,6 +296,12 @@ export namespace media {
* Default value is false
*/
enableFilter?: boolean;
+
+ /**
+ * Optional; Lets the developer specify the ou... | 1 | 1 | 1 | [{"id": "G0", "claim": "Adding the imageOutputFormats prop to a public, released API may be a breaking change: an app that specifies the new prop but runs on an old Teams client that does not support it would get a broken experience and data that might not match the requested output type.", "category": "design", "verdi... | null |
OfficeDev__microsoft-teams-library-js__82 | OfficeDev/microsoft-teams-library-js | 82 | defect | 09c597571b24c69920fc49c0c59ec0e09386ebc2 | c41fbd5f5fc6f7eeef221bdfd73837b7b18e41cf | Add back support for back button handling and navigation | This change is needed in order to bring the Assignments app to our Mobile clients. It introduces two new APIs to the SDK:
- registerBackButtonHandler
- navigateBack | diff --git a/src/MicrosoftTeams.ts b/src/MicrosoftTeams.ts
index 265b5b615f..70a9ecc6fb 100644
--- a/src/MicrosoftTeams.ts
+++ b/src/MicrosoftTeams.ts
@@ -169,6 +169,9 @@ namespace microsoftTeams {
let fullScreenChangeHandler: (isFullScreen: boolean) => void;
handlers["fullScreenChange"] = handleFullScreenCha... | 2 | 1 | 0 | [{"id": "G0", "claim": "The back button handler should be able to signal whether the SDK should perform navigateBack or suppress it (like event.preventDefault), so the SDK client does not have to call navigateBack itself.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "... | null |
OfficeDev__microsoft-teams-library-js__851 | OfficeDev/microsoft-teams-library-js | 851 | defect | 79129e9a89ee312165b2442d8fe0c0a3a9546391 | 6354d1d28a9cbc4d885c24e207cbc9a472ab8fb2 | Add MySite* values to context interface in 2.0 preview | Add MySite* values to context interface in 2.0 preview | diff --git a/packages/teams-js/src/public/interfaces.ts b/packages/teams-js/src/public/interfaces.ts
index 6c6b3465f4..90c16449ad 100644
--- a/packages/teams-js/src/public/interfaces.ts
+++ b/packages/teams-js/src/public/interfaces.ts
@@ -499,6 +499,18 @@ export interface Context {
* Teamsite ID, aka sharepoint sit... | 2 | 2 | 2 | [{"id": "G0", "claim": "The change only adds the mySite properties to the old legacy Context interface and does not say how they will be exposed in the new multi-level context structure in app.ts.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The shareP... | null |
OfficeDev__microsoft-teams-library-js__870 | OfficeDev/microsoft-teams-library-js | 870 | defect | 4baace262d5ad23304202d9f1d811d68ba3d6866 | 3263a70070c7dbe1ba149697a7b1017c9cdaece7 | update function to throw errors | update function so that it throws instead of returns an error and add a try/catch to functions that call it to handle that error call. All tests are passing | diff --git a/packages/teams-js/src/internal/internalAPIs.ts b/packages/teams-js/src/internal/internalAPIs.ts
index 184a259d8b..4b1f854227 100644
--- a/packages/teams-js/src/internal/internalAPIs.ts
+++ b/packages/teams-js/src/internal/internalAPIs.ts
@@ -66,10 +66,10 @@ export function isHostClientMobile(): boolean {
... | 6 | 6 | 5 | [{"id": "G0", "claim": "isApiSupportedOnMobile's signature should not declare an SdkError return (the function throws), and erinha suggests void as the return type.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "notifyEventToHost and MediaController.stop... | null |
OfficeDev__microsoft-teams-library-js__953 | OfficeDev/microsoft-teams-library-js | 953 | defect | 5e5a648b53349612c5466b624317540c8a59f460 | 5879e77c741d2ebcc6b7706cdf1bc3a697d13add | change the constructor function to make the onRecordingStarted callba… | * made `onRecordingStarted` callback property required - without this callback, the VideoController doesn't do anything
* added optional property for `onRecordingStopped`
* updated test cases
work related to this [ticket](https://office.visualstudio.com/MetaOS/_workitems/edit/5717225/) | diff --git a/change/@microsoft-teams-js-828b759f-2466-4a17-9110-350aee8e7a35.json b/change/@microsoft-teams-js-828b759f-2466-4a17-9110-350aee8e7a35.json
new file mode 100644
index 0000000000..b02a629f08
--- /dev/null
+++ b/change/@microsoft-teams-js-828b759f-2466-4a17-9110-350aee8e7a35.json
@@ -0,0 +1,7 @@
+{
+ "type"... | 6 | 4 | 0 | [{"id": "G0", "claim": "The change file's patch notes should not mention that appropriate tests were added.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change seems like something that should be shipped in v1 as well, so the author should c... | null |
OfficeDev__microsoft-teams-library-js__959 | OfficeDev/microsoft-teams-library-js | 959 | defect | c3ba9f04376f62e702f8af789bc6d78629c82ed5 | 38b7ce4f2a3f6fa6b74dea49a43d86613853203a | Lakhveer/focus enter | Moving an API `registerFocusEnterHandler` from teamsCore namespace to Pages. | diff --git a/apps/teams-test-app/src/App.tsx b/apps/teams-test-app/src/App.tsx
index 9265941ea9..5320ee14d3 100644
--- a/apps/teams-test-app/src/App.tsx
+++ b/apps/teams-test-app/src/App.tsx
@@ -16,6 +16,7 @@ import LogAPIs from './components/LogsAPIs';
import MailAPIs from './components/MailAPIs';
import MediaAPIs f... | 2 | 1 | 1 | [{"id": "G0", "claim": "Remove the manually added '## 2.0.0-beta.3' entry from packages/teams-js/CHANGELOG.md and let beachball manage the changelog so a duplicate entry does not appear at release.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Co... | null |
OfficeDev__microsoft-teams-library-js__968 | OfficeDev/microsoft-teams-library-js | 968 | defect | a3ae40a9606803c68e280a022fe9849b66901e99 | 8fc75a1a82d5e7ca27d704e19e0b796120c9ba5a | Add registerDetectSpeakingStateChangedHandler API | Add client SDK changes to support registerDetectSpeakingStateChangedHandler API. | diff --git a/src/public/meeting.ts b/src/public/meeting.ts
index f4c59b9a2f..8e87ee4e0a 100644
--- a/src/public/meeting.ts
+++ b/src/public/meeting.ts
@@ -111,6 +111,30 @@ export namespace meeting {
isAppSharing: boolean;
}
+ export interface IParticipantSpeakingState {
+ /**
+ * id of participant
+ ... | 8 | 7 | 2 | [{"id": "G0", "claim": "The `participantSpeakingStates` type `[IParticipantSpeakingState]` declares an array with a single element where the intended `IParticipantSpeakingState[]` array was meant, and `undefined` could be an empty array instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc... | null |
OfficeDev__microsoft-teams-library-js__989 | OfficeDev/microsoft-teams-library-js | 989 | defect | cef41a6873809f92387c296a50614d37de080fbd | dfd67d3c7f9296ba0f4674e2c1057039df09c701 | Lakhveer/open | 1. Dialog capability has been split into a main capability (dialog) for supporting HTML-based dialogs and a subcapability dialog.bot for bot based dialogs. For now, dialog capability does not support adaptive card based dialogs
2. Changed Dialog.open function is changed to
- take UrlDialogInfo instead of DialogInfo t... | diff --git a/apps/teams-test-app/src/components/DialogAPIs.tsx b/apps/teams-test-app/src/components/DialogAPIs.tsx
index 842a0e463a..e0ecb1003e 100644
--- a/apps/teams-test-app/src/components/DialogAPIs.tsx
+++ b/apps/teams-test-app/src/components/DialogAPIs.tsx
@@ -14,10 +14,34 @@ const DialogAPIs = (): ReactElement =... | 9 | 9 | 1 | [{"id": "G0", "claim": "The change-file comment misspells words ('retuns' for 'returns', 'optionl' for 'optional').", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The messageForParent handler registered by dialog.open should also be unregistered w... | null |
OfficeDev__microsoft-teams-library-js__999 | OfficeDev/microsoft-teams-library-js | 999 | defect | 690a641386b2e37dc166837fdcdc52d2ef951462 | 0484beb490f40a062166fe34b4d529f017f5dfc2 | Improvements to openDownloadFolder API | This PR contains improvements to openDownloadFolder API which is added in [this](https://github.com/OfficeDev/microsoft-teams-library-js/pull/858) PR. The improvements are :
1. Added file path open support
2. Added callback to openDownloadFolder | diff --git a/src/private/files.ts b/src/private/files.ts
index ee5a1c1b08..ed3882ff46 100644
--- a/src/private/files.ts
+++ b/src/private/files.ts
@@ -487,11 +487,17 @@ export namespace files {
* @private
* Hide from docs
*
- * Open download preference folder
+ * Open download preference folder or fileP... | 3 | 3 | 3 | [{"id": "G0", "claim": "Opening an arbitrary caller-supplied file path via this API would be a huge security risk (will this API be opening the file?).", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The API's contract is confusing and wrong: a required... | null |
Ogeon__palette__162 | Ogeon/palette | 162 | defect | 613c0af2851c6926dd3bc9996a81759ee0237790 | 4a107985c6dc94e363b619de07355f6f844c0e0c | Implement CIEDE2000 color difference for Lab/Lch | Add ColorDifference trait
Add csv data and test
Closes #143 | diff --git a/palette/src/lab.rs b/palette/src/lab.rs
index 6e18c9a2f..671187d55 100644
--- a/palette/src/lab.rs
+++ b/palette/src/lab.rs
@@ -5,7 +5,9 @@ use encoding::pixel::RawPixel;
use white_point::{WhitePoint, D65};
use {clamp, from_f64};
use {Alpha, LabHue, Lch, Xyz};
-use {Component, ComponentWise, FloatCompon... | 6 | 6 | 3 | [{"id": "G0", "claim": "CIEDE2000 should be implemented for both Lab and Lch, not just one of the two color spaces.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's code should be run through rustfmt, using the rustfmt-skip attribute to ... | null |
Ogeon__palette__179 | Ogeon/palette | 179 | defect | dd7645d6a25d3259e9aedd11653d20aa1d6b8990 | ebc0e186e509bfaa4b8e476e65a1aca2cd5a35d2 | Add benchmarking with criterion to track changes | Add coverage for Rgb color family and Cie family conversions using the colormine test data
Add benchmarks for matrix operations
Add benchmarks for testing conversion of Srgb\<u8\> and LinSrgb\<f32\>
Small doc fixups
Benchmarks can be run with `cargo bench`. You can also run select benchmarks by typing in a regex ... | diff --git a/palette/Cargo.toml b/palette/Cargo.toml
index 3902084fb..a8eeddc4e 100644
--- a/palette/Cargo.toml
+++ b/palette/Cargo.toml
@@ -25,6 +25,9 @@ serializing = ["serde", "std"]
std = ["approx/std", "num-traits/std"]
libm = ["num-traits/libm"]
+[lib]
+bench = false
+
[dependencies]
palette_derive = {versi... | 1 | 1 | 1 | [{"id": "G0", "claim": "The benchmark closures' Vec creation should be either moved out of the timed iteration or changed to use a loop and black_box, so the benchmark does not measure the time it takes to allocate and write to the Vec too.", "category": "performance", "verdict": "supported", "priority": "P1", "scope":... | null |
Ogeon__palette__188 | Ogeon/palette | 188 | defect | 71b1434f2b1e7e4ceefbe817c1834ba27416a5d9 | 04f6988ac3175a09a5356d6c7bd59919a9d240e6 | Allow HSV, HSL and HWB to represent nonlinear RGB | This removes the old restriction that meant HSV, HSL and HWB can only represent linear RGB. They can now be converted to and from RGB (and each other) as long as the RGB standard is the same. This restriction is there to still allow type inference and reduce implementation complexity. So converting `Hsl<Srgb>` (not lin... | diff --git a/palette/benches/rgb.rs b/palette/benches/rgb.rs
index 85cfa7284..704c8ed20 100644
--- a/palette/benches/rgb.rs
+++ b/palette/benches/rgb.rs
@@ -1,7 +1,14 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion, Throughput};
use palette::convert::FromColorUnclamped;
use palette::encoding... | 2 | 2 | 0 | [{"id": "G0", "claim": "A TODO note should be added to the Rgb family benchmarks to let people know that Hsl/Hsv/Hwb <-> Linear Hsl/Hsv/Hwb and Linear conversions to LinSrgb are not covered currently.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The... | null |
Ogeon__palette__224 | Ogeon/palette | 224 | defect | b1bdbc1f8d94c12a2890f534123b281e18372000 | 734cdab6dde4c7b86d5b671fec9c0a09c1d8dd47 | add hue forgiving tests for CIEL*a*b* and CIELch color spaces | Tests for lab and lch were added.
Results of tests were not precise enough for epsilon of 0.05.
A more lenient epsilon was set at 7.0.
The biggest imprecision originated from hues calculated for colors with low chroma in Lch.
Hues are now ignored for testing if chroma is smaller than 20 only for lch.
Some te... | diff --git a/palette/tests/convert/data_color_mine.rs b/palette/tests/convert/data_color_mine.rs
index 5469cc9cd..1cdac1d4a 100644
--- a/palette/tests/convert/data_color_mine.rs
+++ b/palette/tests/convert/data_color_mine.rs
@@ -64,6 +64,7 @@ pub struct ColorMineRaw {
pub struct ColorMine {
pub xyz: Xyz<D65, f32>... | 2 | 2 | 1 | [{"id": "G0", "claim": "In data_color_mine.csv the lab_l values are on a 0.0-1.0 scale while palette's Lab uses 0.0-100.0, so the new lab test feeds palette a mismatched scale and okaneco asks CGUTA to multiply src.lab_l by 100.0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
Ogeon__palette__53 | Ogeon/palette | 53 | defect | 209402e907522dd12d37143e4b0300bfe1237bd3 | 051d6d6f6b90ba2644005c026565f130b23bf579 | Add hwb color | Added support for HWB color model.
Added tests, implemented Alpha, ApproxEq, FromColor and IntoColor traits and added to color enum.
closes #32
| diff --git a/src/convert.rs b/src/convert.rs
index 0b972efae..874afc5d8 100644
--- a/src/convert.rs
+++ b/src/convert.rs
@@ -1,6 +1,6 @@
use num::Float;
-use {Alpha, Rgb, Luma, Xyz, Yxy, Lab, Lch, Hsv, Hsl, Color};
+use {Alpha, Rgb, Luma, Xyz, Yxy, Lab, Lch, Hsv, Hwb, Hsl, Color};
///FromColor provides conversion... | 3 | 3 | 2 | [{"id": "G0", "claim": "Hwb's is_valid should also check that whiteness + blackness does not exceed one.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Hwb's get_hue returns None for the wrong colors: the condition should be whiteness + blackness >=... | null |
Ogeon__palette__69 | Ogeon/palette | 69 | defect | be62c72beee93ce9edaf0d93f2087a233e3fc354 | 7f229a9f9547c6bf79e981b671bf28b2ff334b3b | Migrate tests to Serde 1.0 | Since `rustc-serialize` is deprecated, I've updated the tests to use Serde 1.0 (as well as upgrading the other dev-dependencies.) Serde had one-to-one replacements for rustc-serialize's functions and #[derive] macros, so the conversion was pretty painless.
While migrating, I also fixed several csv headers, replacing... | diff --git a/Cargo.toml b/Cargo.toml
index 152a41920..3922c86cd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,11 +29,12 @@ version = "0.7"
optional = true
[dev-dependencies]
-image = "0.7"
-clap = "1"
-csv = "0.14"
-rustc-serialize = "0.3"
-lazy_static = "0.1"
+image = "0.14.0"
+clap = "2.24.0"
+csv = "1.0.0-bet... | 1 | 1 | 0 | [{"id": "G0", "claim": "The dev-dependency version requirements should be set to just the major number (e.g. clap = \"2\", and the same for the serde dependencies) so they need no update unless breaking changes are wanted.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
OliBomby__Mapperatorinator__69 | OliBomby/Mapperatorinator | 69 | defect | f80b23481c8dc20b44fff9e487f1e933e26b06e9 | 8097da8f398f9e403ee23f72506216291732ed84 | enhance GUI with comprehensive metadata support and Unicode language handling | ## Summary
This PR enhances the outputs by adding comprehensive metadata support and Unicode language handling for full osu! beatmap compatibility.
## Key Features
### Complete Metadata Support
- Added Unicode fields: `Title (Unicode)` and `Artist (Unicode)`
- Added `Source` field for anime/game origin trackin... | diff --git a/config.py b/config.py
index 2aba5522..7f948373 100644
--- a/config.py
+++ b/config.py
@@ -78,10 +78,15 @@ class InferenceConfig:
bpm: int = 120 # Beats per minute of input audio
offset: int = 0 # Start of beat, in miliseconds, from the beginning of input audio
title: str = '' # Song title... | 6 | 5 | 1 | [{"id": "G0", "claim": "The inline character list in hydra_quote's needs_quoting check is hard to read and maintain; it should use a constant set or string.punctuation.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `import os` inside start_... | null |
OlympusDAO__olympus-frontend__1311 | OlympusDAO/olympus-frontend | 1,311 | defect | 8553392eed441127b81a3e9863379d45c975ae51 | 15c69ee3492b6da8a2d986b5f9f0e16c12d8a710 | fix: when user address unknown do not try to load pool data | Currently the code tries to connect to all networks and load pool data even when the user address is unknown. That is unnecessary work that slows down UX for guest users who have not connected to their wallet yet.
Related to https://github.com/OlympusDAO/olympus-frontend/issues/1308 | diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml
index acaa475749..96cab6f793 100644
--- a/.github/workflows/lighthouse.yml
+++ b/.github/workflows/lighthouse.yml
@@ -1,6 +1,9 @@
name: Lighthouse PWA Test
on:
+ pull_request:
+ # branches:
+ # - master
push:
branches: [... | 5 | 2 | 1 | [{"id": "G0", "claim": "The pull_request trigger added to .github/workflows/lighthouse.yml is extraneous to this PR and should be removed.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new src/baseTypes.ts holding NetworkId should be justified and con... | null |
OlympusDAO__olympus-frontend__1606 | OlympusDAO/olympus-frontend | 1,606 | defect | 5fc65f9e0d5b259e9de661a50268bd0209f8e4ab | ff372f129695820051ae822ba76e13de95a70f6d | Add additional convenience methods to DecimalBigNumber | - Add `.eq` and `.lt`
- Add `toString` that takes options (decimals, formatting, trimming), and removes `toAccurateString` and `toFormattedString`
- Determine the number of decimal places from string input
- More comprehensive tests
- Don't require the decimal places to be specified in multiplication and division... | diff --git a/src/components/TopBar/Wallet/Assets/index.tsx b/src/components/TopBar/Wallet/Assets/index.tsx
index c4167725b7..724832eb48 100644
--- a/src/components/TopBar/Wallet/Assets/index.tsx
+++ b/src/components/TopBar/Wallet/Assets/index.tsx
@@ -113,18 +113,18 @@ const AssetsIndex: FC<OHMAssetsProps> = (props: { p... | 10 | 9 | 2 | [{"id": "G0", "claim": "The constructor should not accept a `number` input type, since it invites the silent precision loss BigNumber.js exists to avoid; numeric input should be passed as a string.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The revie... | null |
Omnistac__zedux__190 | Omnistac/zedux | 190 | defect | 43dea9c3ea846c76740a93495d7ecaa0eeaa86e2 | 5907ab83a0686bc31020915cbfdb825307342a3c | feat!: rework ecosystem resets and internal module state | @affects atoms, react
## Description
As per the v2 spec, rework Zedux's internal module state. Stop storing ecosystems to prevent unexpected caching, especially when used on the server during SSR, and so they can be garbage collected when not in use. Remove the internal store. Remove some top-level exports from t... | diff --git a/packages/atoms/src/classes/Ecosystem.ts b/packages/atoms/src/classes/Ecosystem.ts
index 8f54cf88..4f5e9808 100644
--- a/packages/atoms/src/classes/Ecosystem.ts
+++ b/packages/atoms/src/classes/Ecosystem.ts
@@ -1,5 +1,4 @@
import { is, isPlainObject, Job } from '@zedux/core'
-import { internalStore } from ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The testing setup pattern in packages/react/test/utils/ecosystem.ts (mocking the ecosystem's id generator and resetting the ecosystem in afterEach) should be documented in the testing documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}... | null |
Ompluscator__dynamic-struct__21 | Ompluscator/dynamic-struct | 21 | defect | 79a43128dc4d7b8846f1e240a728e3f53b49648c | a9fb46521add786a30b594a59c99bcc77ae5abd0 | fix: Support embedded struct | With this fix, the following code will output the expected result, **tested on MaxOS and Linux**:
`go get -u github.com/mtt0/dynamic-struct@0e75835bc641757dac062453629f1300ea57678c`
- go.mod
```go
module main
go 1.13
require github.com/mtt0/dynamic-struct v1.3.1-0.20220614084457-0e75835bc641 // indirect
... | diff --git a/builder.go b/builder.go
index 5979686..197f608 100644
--- a/builder.go
+++ b/builder.go
@@ -16,6 +16,7 @@ type (
// builder.AddField("SomeFloatField", 0.0, `json:"boolean" validate:"gte=10"`)
//
AddField(name string, typ interface{}, tag string) Builder
+ addField(name string, pkg string, typ int... | 2 | 2 | 2 | [{"id": "G0", "claim": "The unexported addField method should not be part of the exported Builder interface, since it is a private method.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should update the tests as well, so the new embedde... | null |
OneBusAway__onebusaway-gtfs-modules__114 | OneBusAway/onebusaway-gtfs-modules | 114 | defect | 827127861d4639383e15e30e6ee44ab1d03c885e | 4deed2be1f10ef79220a6d15dec9950d9d2b7a78 | Update pathways support to reflect adopted spec | **Summary:**
Update pathways support to reflect google/transit#143.
**Expected behavior:**
Support for pathways spec as adopted in google/transit#143, including pathways and levels.
Please make sure these boxes are checked before submitting your pull request - thanks!
- [x] Run the unit tests with `mvn ... | diff --git a/onebusaway-gtfs-hibernate/src/main/java/org/onebusaway/gtfs/impl/HibernateGtfsRelationalDaoImpl.java b/onebusaway-gtfs-hibernate/src/main/java/org/onebusaway/gtfs/impl/HibernateGtfsRelationalDaoImpl.java
index d657c10b9..32b858e41 100644
--- a/onebusaway-gtfs-hibernate/src/main/java/org/onebusaway/gtfs/imp... | 3 | 2 | 0 | [{"id": "G0", "claim": "Add a test for the fix this PR depends on in onebusaway-csv-entities#12, and resolve that upstream issue (and release/bump the dependency) to ensure correct functionality before merging.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
OneBusAway__onebusaway-gtfs-modules__136 | OneBusAway/onebusaway-gtfs-modules | 136 | defect | 46f630d69e2378d5d4382c3e2a2659ca295172e0 | 13cbf12917f36e6dfb689e0fe60ffc8e690d9dd1 | MOTP-1432&1481 -- Transformation to recognize unusual numbers of trips & Create Cloudwatch Dashboard | Summary:
Creates AnomalyCheckFutureTripCounts.java
Replaces emailed alerts with cloudwatch metrics
Details:
AnomalyCheckFutureTripCounts.java -- This method uses a control file to compare the values it expects for a given day to the gtfs data in order to determine if there is an upcoming day with an unusual tri... | diff --git a/onebusaway-gtfs-transformer/src/main/java/org/onebusaway/gtfs_transformer/factory/TransformFactory.java b/onebusaway-gtfs-transformer/src/main/java/org/onebusaway/gtfs_transformer/factory/TransformFactory.java
index c2eed1aeb..92017fe51 100644
--- a/onebusaway-gtfs-transformer/src/main/java/org/onebusaway/... | 11 | 9 | 2 | [{"id": "G0", "claim": "The while (true) loop should be replaced by the explicit dateTripMap.get(day)==null test so the loop's purpose is obvious.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The if/else clauses are not mutually exclusive, so a holiday... | null |
OneBusAway__onebusaway-gtfs-modules__320 | OneBusAway/onebusaway-gtfs-modules | 320 | defect | c148b5697dcd0ad6f16c1b5de80f1df2e02353e3 | db57d196b8b8388d48567ca040f0192052b6dc32 | Format currency amounts in fare_products.txt with 2 decimal digits | **Summary:**
Currently, these modules will incorrectly convert FareProduct amounts to output with an incorrect number of decimal places. For example, "2.50" will be converted to "2.5" when using the transformer or merger CLI. This results in the validation error https://gtfs-validator.mobilitydata.org/rules.html#inv... | diff --git a/onebusaway-csv-entities/src/main/java/org/onebusaway/csv_entities/schema/DecimalFieldMappingFactory.java b/onebusaway-csv-entities/src/main/java/org/onebusaway/csv_entities/schema/DecimalFieldMappingFactory.java
index 8f73f6089..7ddc0b640 100644
--- a/onebusaway-csv-entities/src/main/java/org/onebusaway/cs... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test file's copyright header year should read 2025 instead of 2024.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
OneBusAway__onebusaway-gtfs-modules__322 | OneBusAway/onebusaway-gtfs-modules | 322 | defect | 1ab674eeb0e4a2128b354f7c09449a8e99649c44 | 5bf953100be43ee9351373aa07b6833bcc4a9cdf | Because of GTFS-Flex `stops.txt` is no longer a required file | **Summary:**
Do not require stops.txt to be present as it is not required for gtfs-flex data. This currently causes the need to have a redundant empty stops.txt file in gtfs-flex data packages.
**Expected behavior:**
I expect to be able to load gtfs-flex data without getting an error:
org.onebusaway.csv_ent... | diff --git a/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Stop.java b/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Stop.java
index 099943b89..a9d7a6639 100644
--- a/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Stop.java
+++ b/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Stop.... | 2 | 2 | 1 | [{"id": "G0", "claim": "A test should be added that ensures a feed without stops.txt is indeed readable.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Document why stops.txt is not required, because that is counter-intuitive.", "category": "documentati... | null |
OneBusAway__onebusaway-gtfs-modules__328 | OneBusAway/onebusaway-gtfs-modules | 328 | defect | 5ee59d9f86df3c8784e63719a34d387b9d889fab | 0c964671c47e397d0a345ffbb6bc9f2082ba5fce | Support finalized RiderCategories spec | **Summary:**
Update the RiderCategory model to match the (almost) finalized proposal to the GTFS spec. https://github.com/google/transit/pull/511/files
Adds `is_default_fare_category` field. Keeps non-standard `max_age` and `min_age` fields for backwards compatibility.
**Expected behavior:**
* Field `is_defa... | diff --git a/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/RiderCategory.java b/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/RiderCategory.java
index 36b4ab774..ba0f33e96 100644
--- a/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/RiderCategory.java
+++ b/onebusaway-gtfs/src/main/java/org/... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add the new @Experimental annotation to RiderCategory (as done on Trip), marking the finalized-spec fields as experimental.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If minAge/maxAge are not coming back in the finalized spec,... | null |
OneBusAway__onebusaway-gtfs-modules__361 | OneBusAway/onebusaway-gtfs-modules | 361 | defect | b79c8f2ddd1c680d2c5d85980a10b25a5495c330 | 293d7475427d63175c7c1176c545e52199a49292 | Improve delimited text parser (CSV parsing) | **Summary:**
Rewrite CSV-line-parser for improved performance. Added tests to cover various new code paths.
Added CSV-line-parser benchmark + adjusted some other benchmarks.
Functional changes:
* Reusing ArrayList in `parseLine(..)` when reading many lines.
* removed skip whitespace option
* blow up if any... | diff --git a/onebusaway-csv-entities/src/main/java/org/onebusaway/csv_entities/CSVLibrary.java b/onebusaway-csv-entities/src/main/java/org/onebusaway/csv_entities/CSVLibrary.java
index e607b0f15..10ff44bf8 100644
--- a/onebusaway-csv-entities/src/main/java/org/onebusaway/csv_entities/CSVLibrary.java
+++ b/onebusaway-cs... | 3 | 2 | 0 | [{"id": "G0", "claim": "The stated rationale of deliberately supporting malformed CSV is no longer a good reason and the parser should not aim to support malformed CSV.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "If the author is looking for somethi... | null |
OneBusAway__onebusaway-gtfs-modules__79 | OneBusAway/onebusaway-gtfs-modules | 79 | defect | 61f876ffbe801ba14a4706e31f89e4cda55c4d4e | 9d527bddad05e5bff9ceef09d5441f0bd563528c | Transform to remove non-revenue stops | Don't need a release cut just for this, but it would be nice to have in master for the next release. | diff --git a/.gitignore b/.gitignore
index a01865532..941356a13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,5 @@ release.properties
pom.xml.releaseBackup
.settings
.project
-.classpath
\ No newline at end of file
+.classpath
+.metadata/
diff --git a/onebusaway-gtfs-transformer-cli/src/main/java/org/onebusawa... | 3 | 3 | 1 | [{"id": "G0", "claim": "The loop over stop times should be 0-indexed; starting at 1 skips the first stop of each trip, so the `total` count will be wrong.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `total` count is still confusing and should... | null |
OneSignal__serde-redis__13 | OneSignal/serde-redis | 13 | defect | 091ede8bcd193b03e34fb623c833f8de004a668f | 23fa7f43b9edc05bccda6cdd94252bceeaf071f0 | Fix bool decoding | Unless I'm mistaken, `bool`s can't be decoded at the moment 😱
This adds support for decoding `bool`s from their regular string incarnations: `"0"`, `"1"`, `"false"`, `"true"`, `"False"`, and `"True"`.
Also included is a test to ensure that `bool`s stay deserializable. | diff --git a/src/decode.rs b/src/decode.rs
index 0ff4e86..264d654 100644
--- a/src/decode.rs
+++ b/src/decode.rs
@@ -274,10 +274,24 @@ impl<'de> serde::Deserializer<'de> for Deserializer {
default_deserialize!(
deserialize_str
deserialize_char
- deserialize_bool
deserialize_unit
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The bool test can avoid an allocation by storing the expected values in a tuple of bools instead of a Vec.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
OneSignal__serde-redis__21 | OneSignal/serde-redis | 21 | defect | dd29ddd43e274b48b61707a1ce5e96d28640229b | 8862c42fa9fc6a7cdc91507915df67d36488ea5c | Support redis 0.14 and add DeserializeAny error | In order to properly support DeserializeAny, we need a self-describing
data format, like JSON. The most reasonable option is to throw an
error when trying to deserialize with this method. This is the same
method that the bincode library uses:
https://github.com/servo/bincode/blob/master/src/de/mod.rs#L87 | diff --git a/Cargo.toml b/Cargo.toml
index 565bee7..c3a78e4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,7 +9,7 @@ repository = "https://github.com/OneSignal/serde-redis"
documentation = "https://OneSignal.github.io/serde-redis/serde_redis/"
[dependencies]
-redis = "0.13"
+redis = "0.14"
serde = "1.0"
[dev-de... | 3 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks where the tarpaulin coverage output pasted as a comment inside the new test_flatten_inner test comes from.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test should add an assert_eq! on the valu... | null |
OneUptime__oneuptime__105 | OneUptime/oneuptime | 105 | defect | 338a9248bf73ce49fbddc0e7c3723b5f93b28fa4 | 45252340482b627a9c2fbdbc3a59a7894b07b3dd | Add validation to required fields | ### Add validation to required fields
### Required fields will show an error message if they are not filled
### Pull Request Checklist:
- [x] Please make sure all jobs pass before requesting a review.
- [x] Assign yourself to the PR
- [x] Put `closes #XXXX` in your comment to auto-close the issue that you... | diff --git a/Accounts/src/App.scss b/Accounts/src/App.scss
index 09130b42d9c..0490b814007 100644
--- a/Accounts/src/App.scss
+++ b/Accounts/src/App.scss
@@ -59,6 +59,12 @@ body {
}
}
+.error_message {
+ color: rgb(189, 11, 11);
+ margin-top: 5px;
+ font-size: 1.2rem;
+}
+
.brand {
position: absol... | 6 | 4 | 0 | [{"id": "G0", "claim": "Remove the file-wide eslint-disable comment added at the top of BasicForm.tsx.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Class names must not contain underscores, so error_message should not be used.", "category": "m... | null |
OneUptime__oneuptime__293 | OneUptime/oneuptime | 293 | defect | 28ad383af5b152b07e8e946b6a241e1ebc349f86 | aa763b9d7bb4ccbc2f8bc35be994f17adcce8d09 | Implement Ping Monitor | ### Title of this pull request?
- implement the ping monitor
### Small Description?
Implement the ping using tcp sockets
### Pull Request Checklist:
- [x] Please make sure all jobs pass before requesting a review.
- [x] Assign yourself to the PR
- [x] Put `closes #XXXX` in your comment to auto-close the issu... | diff --git a/.github/workflows/test.probe.yaml b/.github/workflows/test.probe.yaml
index d817b2e2248..2917b5f40f6 100644
--- a/.github/workflows/test.probe.yaml
+++ b/.github/workflows/test.probe.yaml
@@ -16,5 +16,7 @@ jobs:
- uses: actions/setup-node@v2
with:
check-latest: true
+ - run:... | 2 | 1 | 0 | [{"id": "G0", "claim": "Please also write IPv6 tests as well for Ping.fetch.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove bytesReceived and bytesSent from the PingResponse resolution, they are not needed.", "category": "design", "verdict": "sup... | null |
OneUptime__oneuptime__403 | OneUptime/oneuptime | 403 | defect | ee4d49efafbbebd948541e579ed116b1de67d7bc | 280e84b46993f64ac0d1c9e5c9119d16ca9095ba | Add tests for Common/Types/*.ts | ### Add tests Common/Types/*.ts
### This PR adds tests Common/Types/*.ts
### Pull Request Checklist:
- [x] Please make sure all jobs pass before requesting a review.
- [x] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).
- [x] Have you lint your code locally before s... | diff --git a/Common/Tests/Types/ArrayUtil.test.ts b/Common/Tests/Types/ArrayUtil.test.ts
new file mode 100644
index 00000000000..6202054dd42
--- /dev/null
+++ b/Common/Tests/Types/ArrayUtil.test.ts
@@ -0,0 +1,93 @@
+import ArrayUtil from '../../Types/ArrayUtil';
+
+describe('ArrayUtil', () => {
+ describe('isEqual',... | 4 | 4 | 0 | [{"id": "G0", "claim": "Sleep.test.ts should not use a nested describe block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Sleep.test.ts should use test instead of it for the test case.", "category": "maintainability", "verdict": "supported", ... | null |
OneUptime__oneuptime__56 | OneUptime/oneuptime | 56 | defect | 39a736775e996133e4b5d4412bfedc8c0a52872c | f2e25e26291eabc2c4b6659e358cc09a27244185 | chore: add common/api/types/api tests | ### Tests for Common/Types/API
Written the test for the `Common/Types/API`
### Pull Request Checklist:
- [x] Please make sure all jobs pass before requesting a review.
- [x] Assign yourself to the PR
- [x] closes #50
- [] Label it as "needs-review"
- [x] Have you lint your code locally before submission? ye... | diff --git a/Common/Tests/Dictionary.test.ts b/Common/Tests/Dictionary.test.ts
new file mode 100644
index 00000000000..330d2755051
--- /dev/null
+++ b/Common/Tests/Dictionary.test.ts
@@ -0,0 +1,15 @@
+import Dictionary from '../Types/Dictionary';
+describe('Dictionary', () => {
+ test('should allow basic types com... | 5 | 5 | 4 | [{"id": "G0", "claim": "The Dictionary test should also check that user[\"user\"] can be set to \"test\".", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The variable in the Dictionary test should be renamed from \"user\" to \"dictionary\".", "category":... | null |
OneUptime__oneuptime__82 | OneUptime/oneuptime | 82 | defect | fe67344a78d2e76d6272c959a2b924e6795a247a | b844a35eea459cbe5214ed20b71e5d4a6fdbae4e | Add Tests to Types/IP using Jest | ### Add Tests to Types/IP using Jest
### All tests are running for the files in Types/IP
### Pull Request Checklist:
- [x] Please make sure all jobs pass before requesting a review.
- [x] Assign yourself to the PR
- [x] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such)... | diff --git a/Common/Tests/IP.test.ts b/Common/Tests/IP.test.ts
new file mode 100644
index 00000000000..903157943b3
--- /dev/null
+++ b/Common/Tests/IP.test.ts
@@ -0,0 +1,32 @@
+import IP from '../Types/IP/IP';
+
+describe('IP()', () => {
+ let ip: IP;
+ beforeAll(() => {
+ ip = new IP('196.223.149.8');
+ ... | 7 | 7 | 1 | [{"id": "G0", "claim": "Use beforeEach instead of beforeAll so tests do not depend on each other and work in any order.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add invalid-IP test cases (e.g. new IP('invalid'), '', 'invalid val with space') and i... | null |
OneUptime__oneuptime__85 | OneUptime/oneuptime | 85 | defect | 9abecd95ee03de21d5377ebf9af16a5abf08ea99 | 313d1a6a3fd962656e8f0eb1835c139c73d3bbf8 | Extend DatabaseProperty and write tests for the overriden methods | ### Extend DatabaseProperty and write tests for them
### Added the methods from database property class to IP class. And I also wrote several tests for them
### Pull Request Checklist:
- [x] Please make sure all jobs pass before requesting a review.
- [x] Assign yourself to the PR
- [x] Put `closes #XXXX` ... | diff --git a/Common/Tests/Types/IP/IPDatabase.test.ts b/Common/Tests/Types/IP/IPDatabase.test.ts
new file mode 100644
index 00000000000..3b8bc0eb3e0
--- /dev/null
+++ b/Common/Tests/Types/IP/IPDatabase.test.ts
@@ -0,0 +1,51 @@
+import IP from '../../../Types/IP/IP';
+
+describe('IPDatabaseProperty', () => {
+ test('... | 2 | 2 | 0 | [{"id": "G0", "claim": "The database-property tests should live in the IP test file (IP.test.ts) instead of a separate IPDatabase.test.ts file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The explicit `return null;` inside fromDatabase's inner if bloc... | null |
OneUptime__oneuptime__95 | OneUptime/oneuptime | 95 | defect | 634aafea881a274f8d60b7d0b21c635aceb2bd4d | 2542c24d2efd24cb5504c1b639d9dce483e89232 | Add tests for exceptions | ### Tests for Common/Types/Exceptions/*.ts
### Tests for all types of exceptions in Exceptions folder
### Pull Request Checklist:
- [x] Please make sure all jobs pass before requesting a review.
- [x] Assign yourself to the PR
- [x] Put `closes #XXXX` in your comment to auto-close the issue that your PR fi... | diff --git a/Common/Tests/Types/Exception/Exception.test.ts b/Common/Tests/Types/Exception/Exception.test.ts
new file mode 100644
index 00000000000..192860e6f79
--- /dev/null
+++ b/Common/Tests/Types/Exception/Exception.test.ts
@@ -0,0 +1,64 @@
+import APIException from '../../../Types/Exception/ApiException';
+import ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The single Exception.test.ts should be split so each exception has its own test file, following the directory structure of the product code.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new exception tests assert only the th... | null |
Oneflow-Inc__oneflow__8681 | Oneflow-Inc/oneflow | 8,681 | defect | 3857e57df5d8c648e2b8d1a50628ab01e88f608e | ccf2358432ea6da4fb3b444c1c5e6e15d973e010 | Support OneEmbedding in cpp api[OneEmbedding] | ```cpp
#include <gtest/gtest.h>
#include <algorithm>
#include <array>
#include <chrono>
#include <cstdint>
#include <functional>
#include <iostream>
#include <thread>
#include <vector>
// #include "oneflow/api/cpp/framework/dtype.h"
// #include "oneflow/api/cpp/framework/shape.h"
#include "oneflow/api/cpp/t... | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b9b6b6116db..a9f59756551 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -825,7 +825,7 @@ jobs:
if: ${{ !fromJson(matrix.cache-hit) && matrix.test-type == 'misc' }}
timeout-minutes: 10
run: ... | 11 | 6 | 3 | [{"id": "G0", "claim": "Hardcoding the state_dict key \"module\" in save_one_embedding_info is too restrictive, because that key name is chosen by the developer.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `path / f\"{module_key}\"` line reads lik... | null |
Oneflow-Inc__oneflow__9858 | Oneflow-Inc/oneflow | 9,858 | defect | d85ac4c410069d1ae18795c665ccfdb47004d8a7 | bff5183a09f54c49dd7c87407f3d98f9ce2b0871 | Supplement ND SBP signatures for reshape op | 对于绝大多数 op 来说,我们只需要列举其可能支持的 1-D SBP signatures,在 2-D (可推及到 ND) 时,对其 1-D SBP signature list 做叉积即可得到 2-D SBP signature list。
但 reshape op 某些情况就属于例外,见如下的例子:
```
(8, 4) reshape to (2, 4, 4)
with 2x2 ranks, has the 1-D sbp signatrue list as below:
S(0) -> S(0)
S(1) -> S(2)
by cross product, get the 2-D sbp sig... | diff --git a/oneflow/core/framework/get_nd_sbp_signature_list_context.h b/oneflow/core/framework/get_nd_sbp_signature_list_context.h
index 21c445c7026..846297665e2 100644
--- a/oneflow/core/framework/get_nd_sbp_signature_list_context.h
+++ b/oneflow/core/framework/get_nd_sbp_signature_list_context.h
@@ -28,9 +28,9 @@ n... | 1 | 1 | 1 | [{"id": "G0", "claim": "The step-2 loop only yields a split when rank_axis walks the whole rank_mesh without interruption, so cases where the reshape splits using only a subset of the rank hierarchy (e.g. 12 ranks [2,2,3] on [4,77,3]->[2,2,77,3], or 16 ranks [2,2,2,2] on [4,77,8]->[2,2,77,2,4]) are missed.", "category"... | null |
Oneflow-Inc__oneflow__9921 | Oneflow-Inc/oneflow | 9,921 | defect | 9ff1e1e7f20723839381595bcfbcd5ac1d1ffd13 | 8c9707d52485a5beff76f4144683c64117d1ff71 | friendly CHECK_XX_OR_RETURN | 来源:https://github.com/Oneflow-Inc/OneTeam/issues/1384#issuecomment-1438212712
修改前报错:
```
>>> import oneflow as flow
>>> a = flow.ones(1, 2)
>>> b = flow.ones(1, 2)
>>> a @ b
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: (2 vs 1)
File "/data/home/songyicheng/of/conti... | diff --git a/oneflow/core/common/maybe.h b/oneflow/core/common/maybe.h
index 519632bc919..cfe949b5040 100644
--- a/oneflow/core/common/maybe.h
+++ b/oneflow/core/common/maybe.h
@@ -328,13 +328,14 @@ std::string GetFormatedSerializedError(const std::shared_ptr<StackedError>& stac
}(__FUNCTION__)) ... | 3 | 3 | 3 | [{"id": "G0", "claim": "The error-message string for the CHECK_XX_OR_RETURN macros should be built from the macro arguments as written (e.g. OF_PP_STRINGIZE(CHECK_EQ_OR_RETURN(lhs, rhs))), not from the already-expanded expression (lhs == rhs), and the other CHECK_XX macros should be changed similarly.", "category": "co... | null |
Onemind-Services-LLC__netbox-secrets__51 | Onemind-Services-LLC/netbox-secrets | 51 | defect | 955e01b3ef2dd51b948ee233071896cb27af5f23 | 43fd97bf2d85d8c9a6898530096190e53a309722 | Fix secret filters | # Pull Request
# Description
- Added filter for a name on API and UI
- Perform a quick search by assigned object name
## Close
#49
| diff --git a/netbox_secrets/filtersets.py b/netbox_secrets/filtersets.py
index bc6ba561..1d38062c 100644
--- a/netbox_secrets/filtersets.py
+++ b/netbox_secrets/filtersets.py
@@ -3,9 +3,10 @@
from django.contrib.contenttypes.models import ContentType
from django.db.models import Q
from django.utils.translation impor... | 4 | 3 | 2 | [{"id": "G0", "claim": "In the UI the new 'Name' drop-down filters by secret ID rather than by name, so selecting e.g. 'Secret' or 'admin' returns only one result and the URL shows an ID filter instead of listing all secrets with that name.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":... | null |
OnsenUI__OnsenUI__2462 | OnsenUI/OnsenUI | 2,462 | defect | 39ee6fd850387ffcde9f756c17547843f87a62e0 | 3e85187759a9579fecc27a916b98d9a2e7952e9e | fix(ons-page): Page now sets its own class if it has a bottom toolbar | Fixes #2459. In this issue, the Vue bindings were causing "page-with-bottom-toolbar" to
be removed. This was because this class was being set on ons-page by ons-bottom-toolbar,
and not being restored when Vue overwrote the classes. If possible, the page should be
responsible for its own classes, so I have moved this... | diff --git a/core/src/elements/ons-bottom-toolbar.js b/core/src/elements/ons-bottom-toolbar.js
index b59132e127..7df86d17ea 100644
--- a/core/src/elements/ons-bottom-toolbar.js
+++ b/core/src/elements/ons-bottom-toolbar.js
@@ -58,12 +58,6 @@ export default class BottomToolbarElement extends BaseElement {
ModifierU... | 1 | 1 | 0 | [{"id": "G0", "claim": "A space is needed before the opening parenthesis, i.e. `if (bottomToolbar) {` instead of `if(bottomToolbar) {`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
OnsenUI__OnsenUI__2477 | OnsenUI/OnsenUI | 2,477 | defect | 0bc83d7ef17b487b5a75d076fa1696ce5d7c545a | 4c7ea181ae85bb36a1bbfddb35bf20fd7c990b71 | feat(platform): can ignore selected platform when checking the platform | Enhancement based on #2475.
I've done this by adding `ignoreSelectedPlatform` argument to the relevant functions, with default of `false` so it doesn't change existing behaviour.
If there is a better way of doing this, let me know and I'll change it. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index c256e1f6fc..2912529a33 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,10 @@ CHANGELOG
dev
---
+ ### New Features
+
+ * ons.platform: Can choose to ignore selected platform when checking what platform is e.g. `ons.platform.isAndroid`. ([#2475](https://github.co... | 3 | 3 | 0 | [{"id": "G0", "claim": "The isIOS JSDoc description should be rephrased to avoid the word 'ignore', more like 'By default, will return manually selected platform if it is set'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The explicit '= false' ... | null |
OnsenUI__OnsenUI__3013 | OnsenUI/OnsenUI | 3,013 | defect | 120b26abec2153661cacdb5eb081e3064ada4033 | 3a161773e96440b6dc266823f349696a60a4d602 | fix(ons-popover): Add target property | Added `target` property to set the default target of the popover.
Fixes #3003. | diff --git a/onsenui/esm/elements/ons-popover.js b/onsenui/esm/elements/ons-popover.js
index b6fec53917..3850e40d6b 100644
--- a/onsenui/esm/elements/ons-popover.js
+++ b/onsenui/esm/elements/ons-popover.js
@@ -182,6 +182,14 @@ export default class PopoverElement extends BaseDialogElement {
* [ja][/ja]
*/
+... | 5 | 5 | 3 | [{"id": "G0", "claim": "Add a `@property target` documentation block alongside the `@attribute target` block, since `util.defineStringProperties` also creates a property that is currently undocumented.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
OnsenUI__OnsenUI__3028 | OnsenUI/OnsenUI | 3,028 | defect | fd37ff3d5bd1a125073fe96a8b5bf2def0003568 | c06cd1f5d90d383fe02d2a7335205fedd1085627 | feat(ons-list-item): Add keep-tap-background-color property | Added `keep-tap-background-color` property to prevent from clearing the background color on `"touchmove"`, `"touchcancel"`, `"touchend"`, `"touchleave"`, `"mouseup"`, and `"mouseout"`. For this to work, the attribute "tappable" needs to be set.
Fixes #2626. | diff --git a/onsenui/esm/elements/ons-list-item.js b/onsenui/esm/elements/ons-list-item.js
index ba5ae5ac50..23a183c7f5 100644
--- a/onsenui/esm/elements/ons-list-item.js
+++ b/onsenui/esm/elements/ons-list-item.js
@@ -158,6 +158,22 @@ export default class ListItemElement extends BaseElement {
* [ja][/ja]
*/
... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add the prop keepTapBackgroundColor to the propTypes object in react-onsenui/src/components/ListItem.jsx so the new core attribute is exposed and documented for React users.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Ad... | null |
Open-CAS__ocf__25 | Open-CAS/ocf | 25 | defect | 1b0b2597d3888f4bb29edb8e36191fa6641d0a4e | 13f12e94cbb9c84e46d08452df1b52a78ba248c5 | Core data object | Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/open-cas/ocf/25)
<!-- Reviewable:end -->
| diff --git a/inc/ocf_core.h b/inc/ocf_core.h
index 4c1f08e1d..92c0da265 100644
--- a/inc/ocf_core.h
+++ b/inc/ocf_core.h
@@ -34,6 +34,15 @@ ocf_cache_t ocf_core_get_cache(ocf_core_t core);
*/
ocf_data_obj_t ocf_core_get_data_object(ocf_core_t core);
+/**
+ * @brief Obtain data object of the core
+ *
+ * @param[in]... | 8 | 6 | 0 | [{"id": "G0", "claim": "The doxygen comments of the submit functions in inc/ocf_core.h still list @retval values although the functions no longer return values; please fix the comments.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The declaratio... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.