Граф коммитов

357 Коммитов

Автор SHA1 Сообщение Дата
Kotana Sai 08dba6aefc Merged PR 312627: Upgrade karma to use Chrome instead of Phantom JS for powerbi-models
Upgrade karma to use Chrome instead of Phantom JS

Test Pipeline Result:
https://dev.azure.com/powerbi/Embedded/_build/results?buildId=5801379&view=results
2022-11-09 07:18:50 +00:00
Yoav Damri 7663bcc528 Merged PR 308101: Add new model for smart narrative output
New model for smart narrative output.
This will be used to current implementation, for insight to report.
And should be used to the future implementation for insights for single visual.

Related work items: #839888, #847155, #891639
2022-10-30 13:53:05 +00:00
Sheng Liu 065889f33f Merged PR 317384: Add displayName to column schema
Table columns can have field name and a different display name. AS will use the field name for query generation. But the end user will only see the user-friendly display name. This is to support defining a display name in the column definition.

This PR also includes minor version update to 1.12.2

Related work items: #916464
2022-10-28 22:26:10 +00:00
PIE Easy Start a4792f8737 Merged PR 311056: Adding OneBranch pipeline YAML config file for powerbi-models-Buddy
Generate OneBranch Pipeline YAML config files. This pull request is initially auto-generated by Easy Start, for more details, please visit our [wiki](https://aka.ms/easystart).
2022-10-24 20:55:00 +00:00
Ali Abu Foul 72ffd2dc65 Merged PR 312646: Inject credentials into .npmrc using YML package_sources config instead of npm authenticate task
Previously I added npm authenticate task to the pipeline to inject credentials to the .npmrc.
This task is not compliant to CDPX. I'm switching to YAML instead as mentioned in this [doc](https://onebranch.visualstudio.com/OneBranch/_wiki/wikis/OneBranch.wiki/4787/Consuming-Packages-in-a-CDPx-Pipeline?anchor=npm)
2022-10-12 14:28:13 +00:00
Sheng Liu ff5616187e Merged PR 300773: Remove Kind and Path from QuickCreate config
Remove Kind and Path from QuickCreate config
Kind and Path is not publicly documented and very difficult to get for some connectors. So we've decided to remove it from the contract to simplify the SDK.

Related work items: #891639
2022-09-08 08:01:11 +00:00
MerlinBot abf201ff7b Merged PR 282079: Remediating Azure Artifacts Configuration Issues in your Repository
As a repository owner, you must take action to protect Microsoft against potential Software Supply Chain attacks. This starts with ensuring your repository has a valid Azure Artifacts usage so you can take advantage of [Central Feed Services](https://aka.ms/cfs). We are opening this PR with a fix on known issue(s) which we have detected in your repository. Please review and approve this PR at your earliest convenience.

**This may impact the ability for pipelines and developers to install packages and build projects.**

## Address **breaking changes** before you merge:
* Confirm the suggested Feed is configured per your organization's guidelines. If changes are necessary, work with your Project Administrators to set it up correctly.  [Learn more...](https://docs.microsoft.com/en-us/azure/devops/artifacts/feeds/feed-permissions?view=azure-devops)
* Add authentication to any failing pipeline definitions. [nuget](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/package/nuget-authenticate?view=azure-devops), [npm](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/package/npm-authenticate?view=azure-devops).
* Reach out to developers who may need to authenticate to the feed using the [embedded_PublicPackages's Connect to feed](https://dev.azure.com/powerbi/embedded/_artifacts/feed/embedded_PublicPackages/connect) instructions in Azure Artifacts.

## This PR can make changes to .npmrc, nuget.config, and other configuration files. Please view the complete change breakdown in the PR changed files.

---

For feedback or questions about this PR, please contact [Artifact Protection Services](mailto:feedprotection@microsoft.com).

---

This change was automatically generated by [1ES Gardener](https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/gardener/1es-gardener) (a [MerlinBot](https://aka.ms/MerlinBot) extension) which is an initiative by the 1ES team to help repos stay up-to-date with latest tools, features, and best practices.
2022-08-31 14:55:45 +00:00
Shahak Yosef 3a9cdc5bd3 Merged PR 296000: Add IFilterGroupedColumnsTarget
Add IFilterGroupedColumnsTarget
2022-08-23 13:08:16 +00:00
Sheng Liu 64cbc6e3b7 Merged PR 289793: Add QuickCreate models
Add QuickCreate models to support generate model thru quickCreate host

Related work items: #540005, #776450
2022-08-18 19:13:56 +00:00
Ohad Edry 4d57e9f0da Merged PR 270987: bump version to 1.11.0
bump version to 1.11.0
2022-06-07 06:23:57 +00:00
Alon Yeshurun 53ce2485b0 Merged PR 270087: Adding beta on publish versions
Adding beta on publish versions
2022-06-02 09:41:58 +00:00
Or Shemesh 1c859c62b8 Merged PR 269674: Remove force resolution from pacakge.json
Now when we have package-lock.json file, we can remove from package.json the preinstall script `npx force-resolution`.
It will fix the dependency in npx when running `npm install powerbi-models`
2022-06-02 07:13:39 +00:00
Or Shemesh 15e04eb7b9 Merged PR 269717: Update pipeline to test package
Update pipeline to test package
2022-06-02 06:42:55 +00:00
Or Shemesh 567b80369f Merged PR 269241: Adding package-lock.json
package-lock.json is needed so we could run `npx npm-force-resolutions` in preinstall in package.json. This script help us solve some security vulnerabilities.

Adding `npm install` to the preinstall script solves that issue since it generates package-lock.json. However it causes failures in internal feed.

As a result I removed `npm install` from the preinstall script and added package-lock.json to the project.
2022-05-31 10:27:09 +00:00
Ali Abu Foul a734aa6929 Merged PR 267928: Fix broken powerbi-models@1.10.1 - Release version 1.10.2 2022-05-29 14:03:31 +00:00
Or Shemesh 9ba4ce8270 Merged PR 265895: Version bump to 1.10.1
Version bump to 1.10.1
2022-05-24 06:04:44 +00:00
Or Shemesh 20e7de96da Merged PR 266898: Updated restore.ps1
Updated restore.ps1
2022-05-24 05:47:56 +00:00
Ali Abu Foul 73607fc17a Merged PR 266830: Add eventHooks to IReportEmbedConfiguration
eventHooks is part of IEmbedConfiguration, which is deprecated.

Adding eventHooks to IReportEmbedConfiguration.
2022-05-23 12:52:42 +00:00
Alon Yeshurun b9efaec5bc Merged PR 265923: Fix paginated report load interface
Adding missing properties to `IPaginatedReportLoadInterface` and fixing incompatible types collision with `ISettings`
2022-05-23 09:43:02 +00:00
Or Shemesh 53b23271af Merged PR 265476: [powerbi-models] Fix remaining vulnerabilities
Use `npx npm-force-resolutions` to fix remaining vulnerabilities
2022-05-19 09:01:39 +00:00
Karan Dewani 471765dbfc Merged PR 260487: Migrate the powerbi-models library from TSLint to ESLint
Completed the task of migrating from TSLint to ESLint.

1. Removed the TSLint configurations and added configurations for ESLint.
2. Updated the default Linter to ESLint.

The base `.eslintrc.js` is taken from the [JS SDK](https://dev.azure.com/powerbi/Embedded/_git/powerbi-javascript?path=/.eslintrc.js).

The following lines have been changed:
1. ![image (6).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/e063268f-1107-4b90-a0c0-1785e0769499/pullRequests/260485/attachments/image%20%286%29.png)
 for using the main `tsconfig` file instead of the test file.

2. ![image (6).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/3e42401e-931d-4a96-b4b9-3533d1cf56ce/pullRequests/260487/attachments/image%20%286%29.png)
Rule in the `tslint.json`

3. ![image (7).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/3e42401e-931d-4a96-b4b9-3533d1cf56ce/pullRequests/260487/attachments/image%20%287%29.png)
Rule in the `tslint.json`

4. ![image (8).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/3e42401e-931d-4a96-b4b9-3533d1cf56ce/pullRequests/260487/attachments/image%20%288%29.png)
Rule in the `tslint.json`

5. ![image (9).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/3e42401e-931d-4a96-b4b9-3533d1cf56ce/pullRequests/260487/attachments/image%20%289%29.png)
Rule in the `tslint.json`

6. ![image (10).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/3e42401e-931d-4a96-b4b9-3533d1cf56ce/pullRequests/260487/attachments/image%20%2810%29.png)
Rule in the `tslint.json`

7. ![image (11).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/3e42401e-931d-4a96-b4b9-3533d1cf56ce/pullRequests/260487/attachments/image%20%2811%29.png)
Rule in the `tslint.json`

8. ![image (12).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/3e42401e-931d-4a96-b4b9-3533d1cf56ce/pullRequests/260487/attachments/image%20%2812%29.png)
Rule in the `tslint.json`

There are no warnings or errors found in `src` folder the console after running ESLint as seen in the following image:

![image (3).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/3e42401e-931d-4a96-b4b9-3533d1cf56ce/pullRequests/260487/attachments/image%20%283%29.png)

There are no warnings or errors found in `test` folder the console after running ESLint as seen in the following image:

![image (4).png](https://dev.azure.com/powerbi/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/3e42401e-931d-4a96-b4b9-3533d1cf56ce/pullRequests/260487/attachments/image%20%284%29.png)

After running npm audit, we get 8 vulnerabilities as shown in the picture below. All the vulnerabilities are caused by using the gulp-watch library....
2022-05-16 05:26:46 +00:00
Alon Yeshurun 4c56649172 Merged PR 252211: Add missing properties and bump version 1.10.0
[This public docs](https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/change-visual-commands#customize-menu-commands) states the available built-in commands. The list is partially full, as some supported commands are missing. This PR adds the missing supported built-in commands.
2022-05-02 10:26:17 +00:00
Or Shemesh 9d011fb546 Merged PR 258266: [powerbi-models] Remove gulp from devDependencies
Remove gulp from devDependencies to fix some vulnerabilities.
2022-05-01 06:11:17 +00:00
Or Shemesh 94ddf82697 Merged PR 254744: [1ES Open Source vulnerabilities] Update package.json
[1ES Open Source vulnerabilities] Update package.json

https://vnext.s360.msftcloudes.com/blades/security?blade=KPI:928b7015-db58-41a3-94ea-ab73c7bb9f4d~SLA:3~AssignedTo:All~Forums:All~_loc:Security&def=&peopleBasedNodes=lmollico_team&tile=cgRepoName:powerbi-models~_loc:__key__Security__928b7015-db58-41a3-94ea-ab73c7bb9f4d&global=4:3f49d90a-1233-4aab-bbc3-f97506c68132

This change doesn't fix the following vulnerabilities: (will send a summary in mail)
- glob-watcher depends on vulnerable versions of chokidar
- gulp-watch depends on vulnerable versions of  anymatch, chokidar, glob-parent
- glob-base depends on vulnerable versions of glob-parent
- vinyl-fs depends on vulnerable versions of glob-stream
- gulp-tslint depends on vulnerable versions of gulp-util
2022-04-14 12:20:09 +00:00
May Hartov 8cb40b6f67 Merged PR 248057: added percent of grand total target support
added percent of grand total target support. It can be applied on visual level for any numeric target
2022-03-28 11:04:56 +00:00
Andriy Malish 897284b6b5 Merged PR 249216: Add ability to hide / show status bar
Add ability to hide / show status bar

![image.png](https://powerbi.visualstudio.com/4c7b5adb-c2d0-4f18-b23c-edc4ac30f4e1/_apis/git/repositories/3e42401e-931d-4a96-b4b9-3533d1cf56ce/pullRequests/249216/attachments/image.png)
2022-03-27 06:06:31 +00:00
Shahak Yosef b01b2d7bbf Merged PR 248430: Remove openLinksInNewWindow
openLinksInNewWindow is no longer supported.

Also fix IError mismatch
2022-03-23 07:46:05 +00:00
Ohad Edry a8640a4954 Merged PR 236418: Support hierarchy filter
Support hierarchy filter
Draft PR which will be published when hierarchy slicer support will be ready.
2022-03-21 11:18:09 +00:00
Alon Yeshurun 52b7308863 Merged PR 238784: Add report parameters property for RDL Reports
[Related PR in PowerBIClients](https://powerbi.visualstudio.com/PowerBIClients/_git/PowerBIClients/pullrequest/238272?_a=files&path=/src/Modern/Apps/RdlEmbed/components/rdl-embed-root/root.component.ts)

Notes for reviewers:
Please pay attention to the new property validations.
2022-03-20 07:49:03 +00:00
Shahak Yosef 86bdfb5942 Merged PR 244250: Build with latest Windows version and VS 2019
Build with latest Windows version and VS 2019
https://github.com/actions/virtual-environments/issues/4312

Same changes as !231657 and !231943
2022-03-08 08:16:30 +00:00
Or Shemesh e7ab9a0876 Merged PR 243780: Added owners.txt to powerbi-models
Added owners.txt
2022-03-06 07:45:11 +00:00
Ali Abu Foul 7744c6dcf4 Merged PR 211121: Add accessTokenProvider to eventHooks 2021-12-26 15:14:57 +00:00
Ali Abu Foul 05ba09ea03 Merged PR 220042: Add background and wallpaper styles to report page
Related PRs:
https://dev.azure.com/powerbi/PowerBIClients/_git/PowerBIClients/pullrequest/199032
https://dev.azure.com/powerbi/PowerBIClients/_git/PowerBIClients/pullrequest/212871
2021-11-21 11:20:08 +00:00
Shahak Yosef 5df3a285ce Merged PR 210165: Release version 1.9.6
Release version 1.9.6
2021-10-13 09:55:31 +00:00
Shahak Yosef 5f18610ae1 Merged PR 195262: Support empty advanced filters
Support empty advanced filters
2021-10-13 09:36:29 +00:00
Shahak Yosef 8384e27527 Merged PR 200084: Add report alignment - release version 1.9.5
Add report alignment - release version 1.9.5
2021-09-05 12:50:45 +00:00
Shahak Yosef 00ea6b540d Merged PR 199395: Portal release version 1.9.4 2021-09-02 13:15:41 +00:00
Shahak Yosef b2257c3b63 Merged PR 199373: Fix Master -> Portal difference
In order to release a new version I need to create a Portal -> Master PR but first need to fix mismatch in the other direction
2021-09-02 12:09:24 +00:00
Shahak Yosef adeec4b341 Merged PR 190181: Remove unnecessary .vscode folder
Remove .vscode folder
2021-07-29 06:40:30 +00:00
Shahak Yosef 937d042c55 Merged PR 189870: Add event hooks to report configuration
Add event hooks to report configuration
2021-07-28 14:17:07 +00:00
Guy Moses 8abbf1c3b7 Merged PR 187269: Post-release undo of programmatic zoom revert
This reinstates the changes reverted before release (while keeping the higher version number)
2021-07-19 14:42:31 +00:00
Guy Moses 72b784a652 Merged PR 187255: Revert "Merged PR 154398: [Embedded] Support Zoom Programmatically"
Revert "Merged PR 154398: [Embedded] Support Zoom Programmatically"
This reverts commit d5a972ca37.
Details: pre-release revert of changes not yet ready in FE prod environments
2021-07-19 13:44:42 +00:00
Shahak Yosef 36425e0e52 Merged PR 183661: Add mobile size
Sync with internal version that was updated in !173573
2021-07-11 13:54:00 +00:00
Saleh Mahameed d5a972ca37 Merged PR 154398: [Embedded] Support Zoom Programmatically
Added zoomLevel as an attribute of ISettings.

Related Work Item: #527743
Related PRs:
-  JS SDK : https://powerbi.visualstudio.com/Embedded/_git/powerbi-javascript/pullrequest/154397
- PBIClients :  https://powerbi.visualstudio.com/PowerBIClients/_git/PowerBIClients/pullrequest/154396

Related work items: #527743
2021-06-23 18:59:24 +00:00
Shahak Yosef af656a8a48 Merged PR 180354: Fix npm version mismatch
Fix npm version mismatch by aligning package versions with the JS SDK.
2021-06-21 06:53:59 +00:00
Shahak Yosef cf4ca26550 Merged PR 179302: Version 1.9.1
Version 1.9.1
2021-06-16 12:08:02 +00:00
George Keldawi e43593315f Merged PR 178687: Custom Visuals: Add Support Of "Group On key"
visuals now can use gok datasets , and should be able to do selections on the in a way that notifies power bi using the opaque id infrastructure.
2021-06-15 11:59:56 +00:00
Shahak Yosef 319eea1721 Merged PR 178692: Add merlin config 2021-06-15 06:39:46 +00:00
Nerya Cohen b2ff2895b6 Merged PR 153134: Version 1.9.0
1.8.0->1.9.0
2021-03-10 10:40:01 +00:00
Sharath Chandra Pittampally 997abd7796 Merged PR 149517: Move openLinksInNewWindow to commonEmbedConfiguration
Move openLinksInNewWindow to commonEmbedConfiguration.
We want this property to be in a generic place where it can be used by both report as well as dashboard embed scenarios as well
2021-02-24 07:59:18 +00:00