Commit Graph

506 Commits

Author SHA1 Message Date
Charles Gagnon
e9c8eb8564 Fix Mac signing (#18534) (#18539)
* Install .NET SDK for Mac signing

* Install runtime

* Specify 2.1.0

* Install SDK

(cherry picked from commit 23cbb98162)
2022-02-23 08:40:05 -08:00
Charles Gagnon
932865ceee Add option to disable running integration tests (#18454)
* Add option to disable running integration tests

* succeeded
2022-02-17 14:14:10 -08:00
dependabot[bot]
06db0d029b Bump follow-redirects from 1.14.7 to 1.14.8 in /build/actions (#18342)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 10:10:57 -08:00
Charles Gagnon
c56f035a06 Add some more ignore folders to indentation filters list (#18195) 2022-02-01 11:28:09 -08:00
Karl Burtram
84c7afa6da Bump node-fetch to 2.6.7 (#18148)
* Bump node-fetch to 2.6.7

* Update more package.json

* Pull in new dependencies from the package bump
2022-01-24 16:15:49 -08:00
Alex Ma
1245829f0d [Loc] add azcli for localization (#18127) 2022-01-19 14:25:13 -08:00
Karl Burtram
dcae3afa73 Fix webmode build (#18120)
* Fix exception in angular rollup

* Update JS file

* Use to string function

* Skip map when it's null
2022-01-19 11:34:45 -08:00
Alex Ma
d84ceddcbb [Loc] add git.xlf and git updates (#18098) 2022-01-16 13:35:34 -08:00
Charles Gagnon
567244c629 Update jsprim (#18090) 2022-01-14 11:17:23 -08:00
Charles Gagnon
84cbdf3f57 Remove unused extensions (#18065)
* Remove unused extensions

* more
2022-01-13 10:51:16 -08:00
Karl Burtram
24a0605081 Add SBOM build task (#18057)
* Add SBOM - WIP 1

* Try a couple different variable values

* Use artifacts path

* Add SBOM build task
2022-01-13 09:14:38 -08:00
Aasim Khan
04c1f31e24 Upgrading nested dependency 'follow-redirects' to latest version 1.14.7 (#18053)
* Upgrading nested dependency 'follow-redirects' to latest version 1.14.7

* Updating another follow-redirects in build/actions
2022-01-12 12:24:18 -08:00
Alan Ren
baaf10338d update publish types (#17953)
* update-type build definition

* more updates

* comments

* fix path

* folder change

* test change

* test update script

* revert test changes
2022-01-07 09:28:36 -08:00
Vasu Bhog
ae8d1b868a vbump playwright to vs code latest (#18005)
* bump playwright to vs code latest

* update install playwright install files
2022-01-06 13:44:48 -08:00
Charles Gagnon
2bc6a0cd01 VS Code merge to df8fe74bd55313de0dd2303bc47a4aab0ca56b0e (#17979)
* Merge from vscode 504f934659740e9d41501cad9f162b54d7745ad9

* delete unused folders

* distro

* Bump build node version

* update chokidar

* FIx hygiene errors

* distro

* Fix extension lint issues

* Remove strict-vscode

* Add copyright header exemptions

* Bump vscode-extension-telemetry to fix webpacking issue with zone.js

* distro

* Fix failing tests (revert marked.js back to current one until we decide to update)

* Skip searchmodel test

* Fix mac build

* temp debug script loading

* Try disabling coverage

* log error too

* Revert "log error too"

This reverts commit af0183e5d4ab458fdf44b88fbfab9908d090526f.

* Revert "temp debug script loading"

This reverts commit 3d687d541c76db2c5b55626c78ae448d3c25089c.

* Add comments explaining coverage disabling

* Fix ansi_up loading issue

* Merge latest from ads

* Use newer option

* Fix compile

* add debug logging warn

* Always log stack

* log more

* undo debug

* Update to use correct base path (+cleanup)

* distro

* fix compile errors

* Remove strict-vscode

* Fix sql editors not showing

* Show db dropdown input & fix styling

* Fix more info in gallery

* Fix gallery asset requests

* Delete unused workflow

* Fix tapable resolutions for smoke test compile error

* Fix smoke compile

* Disable crash reporting

* Disable interactive

Co-authored-by: ADS Merger <karlb@microsoft.com>
2022-01-06 09:06:56 -08:00
Aasim Khan
3e3bc7a7fc Updating pipeline linux agent image to Ubuntu 18.04 (#17792)
* Updating the linux build image

* adding python to docker file

* adding more required libs
2021-12-06 22:08:24 -08:00
Aasim Khan
1f9a6a611b Editing pipeline ACR service connection endpoint to the latest one created (#17767)
* using the new registry endpoint

* updating the service connection

* Changing the name of acr service endpoint to SqlToolsContainer

* Updating web build acr endpoint as well.
2021-11-30 12:34:06 -08:00
Alan Ren
ae5026b432 allow build to continue when cache task fails (#17720)
* cache task should not fail the build

* update cachesalt
2021-11-19 15:02:58 -08:00
Alan Ren
9e5a012dcd update the vmImage for build jobs (#17689)
* update vmImage for windows build

* update tar command

* use specific macos version
2021-11-16 21:08:11 -08:00
Alan Ren
fc0d175f39 fix issue reported by component governance (#17678)
* update json-schema version

* remove unused packages

* update package.json
2021-11-15 17:45:21 -08:00
Charles Gagnon
f91a228066 Update dotnet version used by codesign (#17616) 2021-11-06 13:33:07 -07:00
Charles Gagnon
ab6b290b04 Fix update-typings pipeline (#17511) 2021-10-27 12:42:04 -07:00
Lewis Sanchez
1fabd233e9 Add logging to ADS Web smoke tests, and skip failing tests. (#17353)
* Adds loggings to ADS pipeline

* Skips notebook smoke tests for ADS web.

* Skips failing create book dialog tests in web build

* Ignores import tests ADS web

* Groups related tests together for ADS Web and non-web

* Updates distro commit hash
2021-10-18 19:46:45 -07:00
Aditya Bist
74aacda70d separate ADO jobs (#17361) 2021-10-14 11:05:13 -07:00
Karl Burtram
1bd1e26e13 Bump axios to 0.21.4 (#17161) 2021-09-28 09:56:27 -07:00
Lewis Sanchez
3c7a148f95 Configure docker image and web smoke tests for ADSWeb. (#17136)
* Adjusts timeout period

* Revert "Adjusts timeout period"

This reverts commit 0f372eae2a4611554093b6c09f1ff6c451132e19.

* Adds firefox as browser option

* Corrects yaml smoke test script

* Resets args array to original values

* Corrects build path

* Resolves ignoring browser option error

* continue even after writing to stderr

* Adjusts smoke test (browser) script

* More adjustments to smoke test script

* Corrects server path

* Uses build variable directly in build path

* Specifies browser type since cannot be ignored error

* Adds browser option

* Updates web build image and corrects smoke test exe command

* Removes commented out task

* Updates dockerfile to support web smoketests

* Removes failOnStderr flag

* Use curl instead of wget in Dockerfile
2021-09-24 11:17:51 -07:00
dependabot[bot]
a648877446 Bump nth-check from 2.0.0 to 2.0.1 in /build (#17115)
Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 12:08:56 -07:00
dependabot[bot]
a12cdedb8e Bump axios from 0.21.1 to 0.21.2 in /build/actions (#17053)
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-13 09:19:16 -07:00
Lewis Sanchez
7fd72986d0 Enables smoke tests for ADS Web. (#17014)
* Adds smoketests for ADS web.

* Refines element selector for editor suggestion list

* Revert "Refines element selector for editor suggestion list"

This reverts commit 61b34cd07ab9fa16546d7aab5bce24c73559c6b0.

* Skip tests that timeout for not finding targeted DOM element

* Missed undoing a modification

* Reinstates skipped tests

* Removes unnecssary TODO

* Disables smoke tests for darwin

* Fixed indenting to resolve azure DevOps yaml error

* Updates server path based on setup doc

* Moves smoketests after extensions are built

* Corrects indentation

* Fixes indentation with bottom half of smoketests script

* Updates sqlite URL to latest release

* Yields correct ADS sqlite release version for web and non web

* removes accidental whitespace from previous commit

* Code review changes

* Additional review change

* update distro

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2021-09-10 16:51:38 -07:00
Alex Ma
e531abfeb4 removed azdata.xlf as its no longer relevant (#16951) 2021-08-31 13:48:59 -07:00
Charles Gagnon
e7a719ceb4 Fix extension linting warnings and enable extension linting in pipelines (#16922)
* Fix extension linting errors

* fix test
2021-08-27 15:13:01 -07:00
Cory Rivera
cb7b7da0a4 Merge from vscode e3c4990c67c40213af168300d1cfeb71d680f877 (#16569) 2021-08-25 16:28:29 -07:00
Charles Gagnon
f570c64ce0 Remove azdata extension (#16667)
* Remove azdata extension

* skip failing tests

* unskip tests

* Remove duplicate tests

* skip tests
2021-08-11 09:48:06 -07:00
Charles Gagnon
09a4dfa5b0 Fix pipeline when no tests are ran (#16586) 2021-08-05 16:19:46 -07:00
Charles Gagnon
1b073c6748 Package VS Code extensions (#16465)
* Package VS Code extensions

* fixes

* Add back in path

* remove extra indents

* Remove extra parens

* try fix
2021-07-29 08:33:46 -07:00
Charles Gagnon
107023c7d0 Fix update typings pipeline to work for us (#16404)
* Update publish types pipeline

* update yarn tool

* Use fork

* Remove hardcoded

* Sync up with upstream

* update email
2021-07-22 16:47:08 -07:00
Alex Ma
d663ec6129 Added replacement for name of Portuguese langpack (#16361)
* added replacement for name of Portuguese langpack

* use toLowerCase instead
2021-07-20 12:44:42 -07:00
Alex Ma
f53a06a403 added delete zip files code (#16230)
* added delete zip files code

* removed space
2021-07-16 12:21:23 -07:00
Alex Ma
669623a228 Removed async copy in rename function (#16209)
* Removed async copy in rename function

* added comments and removed async
2021-07-16 11:01:31 -07:00
Charles Gagnon
8faa0cf0e2 Update compile pipeline and fix eslint (#16129)
* Update pipelines

* eslint

* Fix layering

* update tsec exemption
2021-07-14 14:43:23 -07:00
Alex Ma
f7bf914bcb added on end function to end of pipe (#16144) 2021-07-14 14:36:52 -07:00
Alex Ma
e3dc417df4 Added Sorted Core Strings (#16081)
* added sorted sql xlf and sorting function for i18n

* compiled i18n.js

* fixed space

* simplified i18n.json
2021-07-12 15:58:38 -07:00
Charles Gagnon
d942799f9d Add azcli extension (#16029) 2021-07-07 13:00:12 -07:00
Justin M
48b7d96999 Add Azure Monitor Extension (#15397)
* Added Azure Log Analytics resource for generating AAD Token.

* Fixed AzureResource

* Removed debug code from connectionManagementService

* Moved AzureLogAnalytics from AzureResource enum in azdata.d.ts to azdata.proposed.d.ts.  Added azureLogAnalyticsResource to all azureSettings in providerSettings.ts

* Updated endpoint for generating AAD Token for LogAnalytics for UsGov, UsNat, and China

* Initial Commit of Azure Monitor Extension

* Added extension name to azuremonitor package strings

* Removed azureMonitor resource from germanyCloud in providerSettings

* Added logic to exclude menuItems in object explorer for LogAnalytics

* Changed exe from AzureMonitor to Kusto

* Added if clause for queryName for new queries

* Changed queryWindow name from KustoQuery to KQLQuery for Kusto and LogAnalytics.

* Added LogAnalytics for setTaskBarContent

* Added serialization and telemetry feature classes to AzureMonitor. Added references for azdata and vscode.

* Added azure monitor light and dark icons

* Added config for Dashboard in package.json

* Added workspace information to dashboard

* Added language support for LogAnalytics

* Added Notebook support

* Added Hide flag to package.json for databaseName

* Changed providerId from LogAnalytics to LOGANALYTICS

* Changed Workspace to Workspace ID in package.nls.json

* Added support for Azure Widget browser

* Changed fullName to use workspaceId when connecting

* Changed providerId from alertsManagement to azureMonitor

* Added .gitignore and *.vsix to vscodeignore.

* Removed unused devDependencies

* Code Review Feedback

* Changed tsconfig.json to match Kusto and Sql

* Changed package.json to match kusto package.

* Changed tsconfig to validate unused params and implictAny. Changed existing code to satisfy build.

* Fixed tsconfig to use the correct base class.

* Added objectExplorerNodeProvider and all related classes.

* Removed unused tmLanguage file

* Added logic to to download extension from toolservice

* Fixed launchArgs. Removed commented code from extension.ts. Changed config.json to use net5.0

* Added displayName to package.nls.json. Removed hide flag from databaseName. Other code review feedback.

* Added readme info to AzureMonitor

* Removed unused client-error-handler and ui-references files. Combined outputChannel in azuremonitorServer. Removed TODO from contextProvider. Renamed function in extension.ts. Removed unneeded 'use strict' from cancelableStream.ts. Removed second outputChannel from objectExplorerNodeProvider.

* Removed unused files
2021-07-06 15:27:19 -07:00
Alex Ma
ba3ab201c8 added import-extensions-xlf gulp task (#15966)
* added import-extensions-xlf gulp task

* combined export and import

* changed vscode-translations-export

* added rename vscode langpacks task

* added node command to import language xlfs

* fixed import language xlfs command

* added comments

* removed import script as we need to investigate localization
2021-07-02 10:58:14 -07:00
Alex Ma
30462dfb25 Webpack Extensions update (#15919)
* test for schemacompare

* added schema compare to package.json

* added arc for translation

* added admin-tool-ext-win

* added agent

* added cms to list of extensions webpacked

* removed dacpac

* added import

* added machine-learning

* removed profiler

* added server-report

* added sql-assessment

* added sql-migration

* added sql-database-projects

* added query-history

* fixed and updated dependencies in extensions for webpacking.

* fixed names of entry

* fixed webpack for machine-learning

* removed dependency external for dacpac

* reduced externals for server-report

* added back import

* removed extension.webpack.config.js

* removed useless handlebars function

* added todo message
2021-07-01 09:56:55 -07:00
Karl Burtram
31e9c21c06 Fix regressions in web build (#15920)
* Update build for web issues

* Fix remote\web package.json

* Remove extension activate test

* Add terminal entry point

* Bump distro

* Update docker files and pipelines

* Add linux task

* Update build pool

* Correct image name

* Update pipelines

* Fix indention

* Update sql-web-build.yml for Azure Pipelines

Add new build variable

* Update sql-web-build.yml for Azure Pipelines

Revert previous commit

* Disable sourcemaps upload

* Remove compile step

* Fix yaml typo

* Fix dependson error

* Update yaml

* Add notebook parameters

* Remove web from desktop builds

* Add web createDrop script

* Bump distro

* Change execution mode on createDrop script

* Code review feedback

* Update CI hygiene cache key

* Bump distro

* Fix merge conflicts

* Revert "Fix merge conflicts"

This reverts commit 06f7a58b6e0a065520b7686e8469e4e7682e157a.

* Bump distro to before smoke test update
2021-06-29 12:12:27 -07:00
Alex Ma
aee24b202d Langpack refresh gulp task (#15930)
* added work in progress langpack commands

* working langpack refresh function added

* removed external extensions change.

* reverted extensions.js

* changed wording slightly

* changed wording

* added changelog and readme message

* clarified wording again

* added handling for outdated strings

* fixed wording and changed promise

* added another comment

* added have
2021-06-29 11:32:57 -07:00
Alan Ren
1e2cb1cdf9 increase the timeout for compile step (#15872)
give it 30 minutes more to see whether the compile step can finish within reasonable extra time.
2021-06-22 15:32:53 -07:00
Alex Ma
1dc4a437eb Export-XLF function for ADS (#15709)
* wip commit

* added function to generate XLFs for ADS

* code cleanup

* removed unnecessary locfunc

* updated extensions and locfunc

* changed wording to be more clear

* added working single extension compile

* added export all extensions

* added more comments and closing sql carbon edit braces.

* consolidated gulpfile.extensions changes

* changed name to remove ADS part.

* changed gulpfile name use
2021-06-22 09:57:15 -07:00