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

73 Коммитов

Автор SHA1 Сообщение Дата
Aleksandr Savelev 4da6caf673
Updated eslint + packages, reworked eslint to use default config (#525)
* Updated eslint + packages, reworked eslint to use default config

* Updated templates

* Fixed eslint config

* Fixed vulnerabilities

* Updated eslint plugin package

* Fixed api version check

* Fixed middleware
2024-10-04 19:29:39 +02:00
Aleksandr Savelev e5f717b84a
Deprecated old logic and changed path for certificate (#512)
* Deprecated old logic and changed path for certificate

* Removed redundant changes

* Audit fix

* Fixed import

* Fixed file creation

* Fixed path to ensure

* Added missing part of path for certificate

* Updated changelog

* Incapsulated usage of path to certificates

* Fixed tests

* Updated packages

* Fixed snyk
2024-06-04 18:28:31 +02:00
Aleksandr Savelev b100e9dbfd
Eslint integration (#492)
* Implemented eslint inside tools

* Removed eslint feature check

* Removed test for ESLint

* Implemented new class LintValidator, now using eslintrc from visual by default

* Fixed missing options in package command

* Fixed audit error

* fixed tests

* Updated packages
2024-01-08 11:09:52 +01:00
Aleksandr Savelev 58bf32718b
Updated packages (#496)
* Updated packages

* Removed "fit" in tests
2023-11-29 13:23:38 +01:00
Iuliia 76e4677a1b
Added pbiviz-flag to change the pbiviz path (#495)
* Implemented flag to change the pbiviz path

* Changed flag name to pbiviz-file
2023-11-29 13:11:13 +01:00
Aleksandr Savelev 29075f215a
Implemented PAC validation (#459)
* Updated webpack-plugin

* Updated changelog

* Implemented PAC validation, fixed wrong path to LocalizationLoader, updated template

* Fixed tests

* updated deprecation log

* Migrated to typescript, reworked PAC validation; Updated package command logic

* Updated new, info, start commands; Updated all templates to use eslint and satisfy all PAC requirements

* updated commander.js, removed lib files,

* added lib to ignore

* Fixed tests

* Fixed naming, Implemented unit tests

* Fixed errorMessage

* test the files in repo

* test workspace

* fix path to file

* Attempt to find out the correct path to files

* Attempt to find out the correct path to files #2

* New way to build path to file using new URL

* Try to import file as json

* Updated import in pbivizNew

* Fixed one import of config.json

* Fixed name of the folder

* Removed wrong pushed files

* Reverted new way for building path to root files

* Decreased node version in build pipeline

* Decreased node version to 12x in build pipeline

* added missing @typescript-eslint/parser

* Updated actions/checkout

* Deleted redundant part of path to config

* Fixed path in case of Linux

* Fixed case sensitive test, removed Math.random

* Removed imports with type assertion

* Fixed options in start command

* Updated packages, removed redundant changes, updated changelog

* Fixed package-lock file and basic commands

* Fixed feature types, resolved review comments

* Changed way to compare objects in Package instance

* removed redundant changes

* Removed source from BaseFeature

* Declared errorMessage as getter

* Updated features' types

* Changed way to chose the visual type

* Updated package.json

---------

Co-authored-by: AleksSavelev <v-asavelev@microsoft.com>
2023-08-22 12:12:09 +02:00
Aleksandr Savelev 3151ab455a
Implemented flag to disable localization loader (#477)
* Updated webpack-plugin

* Updated changelog

* Fixed bug with broken imports

* Fixed rootPath for all systems

* Updated path to all loaders to support multi system

* Changed way to import loaders

* Updated pipeline

* Removed tests from release

* Fixed install-cert command

* Fixed regex to find api version

* Raised node.js version in pipeline

* Implemented flag to disable loc loader

* Removed test

* Updated changelog

* Fixed tests

---------

Co-authored-by: AleksSavelev <v-asavelev@microsoft.com>
2023-08-21 20:06:48 +02:00
Aleksandr Savelev 20d25d720f
Implemented flag to skip API validation (#476)
* Updated webpack-plugin

* Updated changelog

* Fixed bug with broken imports

* Fixed rootPath for all systems

* Updated path to all loaders to support multi system

* Changed way to import loaders

* Updated pipeline

* Removed tests from release

* Fixed install-cert command

* Fixed regex to find api version

* Raised node.js version in pipeline

* skip api install

* Removed console.logs

* Added errors in loadAPIPackage method to make it clearer

* Updated test

* Update Changelog

* Updated changelog

* Removed crypto

* Fixed error with getRandomValues undefined

* Fixed crypto imports

---------

Co-authored-by: AleksSavelev <v-asavelev@microsoft.com>
2023-08-21 19:52:47 +02:00
Aleksandr Savelev 76e95cc06a
5.0.3 Fixed install-cert command (#473)
* Updated webpack-plugin

* Updated changelog

* Fixed bug with broken imports

* Fixed rootPath for all systems

* Updated path to all loaders to support multi system

* Changed way to import loaders

* Updated pipeline

* Removed tests from release

* Fixed install-cert command

---------

Co-authored-by: AleksSavelev <v-asavelev@microsoft.com>
2023-08-04 20:17:36 +02:00
Aleksandr Savelev 9eafc51203
Migrate to TypeScript (#467)
* Updated webpack-plugin

* Updated changelog

* Migrated TS

* Added lib to gitignore

* Removed redundant changes

* Removed redundant packages

* Renamed utils file in tests. small review fixes

* Fixed import in test file

* Moved all subCommands into one pbiviz.js file

* Updated Changelog

* Returned deps related to fallback for webpack 5

* Fixed sub commands functions

* fixed paths in webpack config

* Fixed port option in start command

* Updated packages

* Migrated from uuid to crypto

---------

Co-authored-by: AleksSavelev <v-asavelev@microsoft.com>
2023-07-20 09:41:46 +02:00
Aleksandr Savelev 091db0269e
Add flag to remove statistics file (#456)
* Added flag to disable statistics files
2023-04-10 16:11:55 +02:00
AleksSavelev ae8a858070
Fixed test 2022-12-12 15:34:20 +01:00
Alexey 6c1452857a
3.4.2 (#395)
* Fixed cert verification, removed request and deprecations

* discard passphrase changes in config.json

* fixed templateFetcher

* fix test

* refactored test code

* fixed test flow

* added helper utils

* fixed test

* fixed test
2021-10-28 13:16:29 +07:00
Alexey 8e5c851fae
3.4.0 (#386)
* removed old api code, removed pbiviz update method and insatll api flag

* added compare-versions lib, used regex for grabbing version

* tuned versions grabbing regexps

* updated packages

* Enable loading of source maps files for local development

* Migrated to v4, need to fix configs

* fixed devServer run

* updated typescrtypescript package

* fixed PR comments

Co-authored-by: Nikita Grachev <v-grniki@microsoft.com>
2021-09-21 19:52:38 +07:00
Alexey 1110191059
3.3.0 (#381)
* Update PBI-visuals-API template usage to 3.8.2

* debugging

* fixed tests, made API min 3.8.0

* reverted config.json

* commited changelog

* commit for a changelog
2021-07-17 01:02:47 +07:00
Alexey 3681651efc
Added webpack5 support (#357)
* Added webpack5 support

* removed lodash: template/difference/findindex

* config.json remove changes
2021-04-12 21:53:27 +07:00
Ilfat Galiev 65ab56c410 Update webpack plugin. Fix UT 2019-10-18 13:24:05 +03:00
Evgenii Elkin e268be5a4c Packages update 2019-08-14 18:18:20 +03:00
Nikita Grachev 5a8b14b707 Updated to Webpack 2019-05-27 19:53:00 +07:00
Ilfat Galiev 65ce85bbb3 Fix vulnerabilities
Replaces jscs and jshint by eslint
2018-10-02 10:53:34 +03:00
Ilfat Galiev 672d5e2709 Generate new certificate (#162)
* Generate new certificate

* Generate cert for win7 by using OpenSSL

* Update changelog and added link to documentation

* Code review
2018-03-01 14:57:55 +02:00
Eugene Elkin f5ff3a9f14 Ignore localization generation if API doesn't support it (#149)
* Ignore localization generation if API doesn't support it
2017-10-26 11:42:19 +03:00
Konstantin Mamaev 15865a7fc5 Resjson support (#98)
* Add async generation
Add .resjson support
Add vscode debug point

Add nodejs 6 as dependencies

Change CI configs for NodeJS 6

Add validation for visual name
Install npmn dependencies after creating visual template

* Fix comments

* Fix stylelint

* Fix comments

* Add Changelog

* update changelog
Add missing dependencies
Up version
2017-08-10 17:17:19 +03:00
Avi Sander 07f253e9ee Revert "- Changed guid generation (#130)" (#132)
This reverts commit 6b5544fc60.
2017-08-10 12:06:24 +03:00
Jan Pieter Posthuma 6b5544fc60 - Changed guid generation (#130)
- Added test for correct guid generation
2017-08-10 11:39:02 +03:00
Aleksei Tkach 250fa7b2ae fix for #20353 ICM: Add name validation to pbiviz new command (#131) 2017-08-10 11:32:06 +03:00
Sergey Savvin 75c2d56348 Increase Jasmin timeout (#114)
* Increase Jasmin timeout

* Fixed wrong killing of subprocesses for 'start' command in the unit-tests
2017-07-19 14:01:46 +03:00
Konstantin Mamaev 0ac64a7967 Add validate for visual name (#100)
* Add validate for visual name

* Add extended name checking

* remove check for ES5 unicode symbols

* Fix number regexp

* Send detailed error message for visual name validator

* Fix typo

* Fix comments

* Increase version

* Fix typo errors
2017-06-28 08:28:25 +03:00
Konstantin Mamaev c5c3d25672 Add auto install node dependencies (#101)
* Add auto install node dependencies

* Fix typo errors
2017-06-26 15:07:08 +03:00
Konstantin Mamaev 8efaa43629 Fix settings generation (#104)
* Fix settings generation for default visual

* Add unit tests

* Remove the wrong comment

* Add lodash as dependencies
Remove typings
Add check input options

* Refactoring visual templates

* Up version for powerbi-visuals-utils-dataviewutils

* Add check for empty data

* Remove incorrect test

* Remove implicit dependencies

* Fix render visual without any dataView

* Update powerbi-visuals-utils-dataviewutils to last version

* Update dependencies

* Add changelog, update version to 1.6.5
2017-06-08 18:24:05 +03:00
Aleksei Tkach 5cc0bbf09f #14696 Generate the settings object automatically based on the capabi… (#87)
* #14696 Generate the settings object automatically based on the capabilities file
#14658 Improve new visual template in pbiviz tool

* Test object.keys to reduce some code

* Some fixes according to PR comments

* Add unit test for generated settings.ts file check

* Add tests for visual settings

* Add test for settings, fix default template
2017-05-03 08:17:44 +03:00
adlerav 3e03b7595c Api 1.6.0 - rhtml (#86)
* comment change

* Added rhtml template

with initial tests

* Added tests to rhtml template

* bugs fixe

* Bug fix in CSS embedding

removed CDATA section from <style> tag content

* Replaced 'body' with rootelement

* Added comments, reorder functions

* protection against flatten failure

* clears the 'head' elements

* make new-line to be platform dependent (test)

* update tests (eol mark)

* test logging

* log tests

* log test (3)

* fix test

* Removed logging

* Removed unused variables
2017-03-12 17:18:52 +02:00
Avi Sander ab09faece8 Merge pull request #75 from Microsoft/API-1.6.0
Localizing property pane Api 1.6.0
2017-03-12 09:03:47 +02:00
Savvin Sergey 2cba071a49 15307:Changed GUID number generation algorithm 2017-03-06 23:05:45 +03:00
Avishai Adler e74b32f3b2 Revert "Added support for R dev experience"
This reverts commit 77ec3371ef.

# Conflicts:
#	lib/VisualBuilder.js
2017-02-20 17:42:18 +02:00
Avishai Adler 77ec3371ef Added support for R dev experience
using 'source' command
2017-02-20 16:10:00 +02:00
Hilla Cohen 3f6addabdd Hicohen api1.6 (#74)
* fix build break
2017-02-19 13:58:13 +02:00
Avi Sander a5e01d22dd API 1.5 (#66)
API 1.5 support
2017-02-15 10:38:46 +02:00
Ignat Vilesov e92b34ef64 14822: CVUT coverage: Update source code of the PBIVIZ tools in order to fix the watching mode
Power BI Visuals Tools 1.4.3
2017-02-07 19:22:39 +03:00
Ignat Vilesov 3cbdedbccf 14731: CVUT coverage: Implement the --no-plugin flag of Power BI Visuals Tools (PBIVIZ) 2017-02-06 09:29:18 +03:00
v-kazaki b1026344ef Unused brackets are removed 2017-01-12 18:17:18 +03:00
v-kazaki b66b05a19e Spec added for versioning change 2017-01-12 17:06:58 +03:00
Avi Sander 8a30e3dc4e update package to 1.3.0
- Change default API version to 1.3.0
2016-11-29 14:30:21 +02:00
Raanan Zvi 35b8f62dc4 Changed the default API version for new visuals to be 1.2.0 2016-10-26 10:59:37 +03:00
Raanan Zvi 0e348db121 Added package dependencies
For the custom R visuals, the R script will most probably require some CRAN packages to be installed on the local machine of the user.
So we are defining a way for a custom R visual author to declare  what are the CRAN packages his script reuires so we will be able to verify and install those packages for the user (after getting user concent)
2016-08-21 14:02:50 +03:00
Raanan Zvi 176a16a330 More merge work with latest 2016-08-08 18:11:20 +03:00
Raanan Zvi 50545be22c Merge remote-tracking branch 'refs/remotes/Microsoft/master'
# Conflicts:
#	bin/pbiviz-new.js
2016-08-08 18:01:06 +03:00
Raanan Zvi 3c8fb8967f Added support for scriptOutputType
Added support for scriptOutputType property in the capabilities file.
This will allow custom visual authors to receive data types other then
PNG.
2016-08-08 17:35:20 +03:00
itslenny 608991cb0f Add api v1.2.0 (alpha), Fix objects in 1.0/1.1, add update command for updating api 2016-08-05 12:35:51 -07:00
Raanan Zvi 929feb5234 Changed the extension of script.r file to lowercase
(Used to be script.R)
2016-08-01 23:06:15 +03:00