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

7099 Коммитов

Автор SHA1 Сообщение Дата
Shati Patel be22964113
Send telemetry for `addDatabaseSourceToWorkspace` setting (#3238) 2024-01-16 17:05:59 +00:00
Robert db3550a18c
Merge pull request #3245 from github/robertbrignull/multi-query-published-pack
Add prototype implementation for codeQL.runVariantAnalysisPublishedPack
2024-01-16 16:54:04 +00:00
Robert 91a96da2ad Start progress bar earlier 2024-01-16 16:39:30 +00:00
Robert 9dc37ebf33 Return when we detect no queries 2024-01-16 16:33:16 +00:00
Robert ff8def3e7d Use join instead of slash 2024-01-16 16:32:09 +00:00
Koen Vlaswinkel 39c17291aa Add diagnostics to suggest box
This adds the ability for consumers of the suggest box to add
diagnostics to the suggest box. When a diagnostic is returned for a
value, the input will be shown with a red border.
2024-01-16 16:56:32 +01:00
Nora a6a7a5c5cb
Merge pull request #3246 from github/nora/remove-deprecated-jest-syntax
Remove deprecated jest syntac
2024-01-16 16:44:09 +01:00
Nora 70ce93cbb3 Replace toBeCalledTimes 2024-01-16 15:28:51 +00:00
Nora abc71b5102 Replace toBeCalledWith 2024-01-16 15:28:07 +00:00
Nora fed110f65f Replace toBeCalled 2024-01-16 15:26:41 +00:00
Robert 174a38a16a Make placeholder text more general 2024-01-16 15:11:38 +00:00
Robert b4250218d5 Implement the command to download a published pack 2024-01-16 15:11:38 +00:00
github-actions[bot] 5948008c99
Bump CLI version from v2.15.5 to v2.16.0 for integration tests (#3243)
Co-authored-by: github-actions[bot] <github-actions@github.com>
2024-01-16 15:09:30 +00:00
Koen Vlaswinkel 070f0ca9b7 Add highlighting to items in suggest box
This adds highlighting of the currently typed text into the shown items
of the suggest box.
2024-01-16 16:05:51 +01:00
Charis Kyriakou 318136f5e5
Allow multiple file URIs to be passed into prepareRemoteQueryRun (#3241) 2024-01-16 15:05:24 +00:00
Koen Vlaswinkel a3ade9984d Make mocking helpers independent of vscode 2024-01-16 15:39:14 +01:00
Koen Vlaswinkel 4429385dfd Open suggest box with Ctrl + Space
This adds a keyboard shortcut to open the suggest box when it's closed.
This matches the behavior in VS Code itself.
2024-01-16 14:24:09 +01:00
Shati Patel f993258a27
CodeQL model editor: Make `Type` a selectable model kind for Ruby (#3224) 2024-01-16 13:17:26 +00:00
Shati Patel c5517e0aea
CodeQL model editor: Add support for free text input in type models (#3217) 2024-01-16 13:03:53 +00:00
Charis Kyriakou 8c0a8e07b2
Tidy up variant analysis commands (#3240) 2024-01-16 12:19:37 +00:00
Robert a1572463a6
Merge pull request #3239 from github/robertbrignull/multi-query-commands
Add stubs of commands for multi-query support
2024-01-16 10:24:29 +00:00
Koen Vlaswinkel 545902843d
Merge pull request #3222 from github/koesie10/suggest-box-helper-functions
Add helper functions for suggestion box
2024-01-16 09:35:12 +01:00
Robert 1a7981a22d Add codeQL.runVariantAnalysisPublishedPack command 2024-01-15 17:08:18 +00:00
Robert 1bc560518f Add codeQL.runVariantAnalysisContextExplorer command 2024-01-15 17:07:41 +00:00
Shati Patel 281f8eeb7a
CodeQL model editor: support saving single/selected models (#3156) 2024-01-15 16:51:46 +00:00
Dave Bartolomeo f53826c09d Better dependency version assertions 2024-01-14 10:20:55 -05:00
Dave Bartolomeo b16aeb3887 Fix property name, and expand another path 2024-01-14 10:17:35 -05:00
Dave Bartolomeo ee73639720 Expand short paths before calling `codeql pack bundle` 2024-01-13 14:30:01 -05:00
Dave Bartolomeo 9d2190a88d Add text if pack is empty 2024-01-12 13:03:21 -05:00
Dave Bartolomeo 6d308f8688 Add missing change 2024-01-12 12:44:16 -05:00
Dave Bartolomeo 61933c34d5 Dump pack contents when expected file not found 2024-01-12 12:41:36 -05:00
Dave Bartolomeo e03c2b132c Custom message for assertions about files existing in packs 2024-01-12 10:42:34 -05:00
Dave Bartolomeo 9c42c6a851 Allow CodeQL checkout to be named `ql`
This makes it easier for cross-repo development with `semmle-code`, where the `codeql` repo is in a submodule in a directory named `ql`.
2024-01-12 09:30:13 -05:00
Nora 283d0070f7 Ignore playwright config on dead code 2024-01-12 14:05:51 +00:00
Nora d3c7241854 fix new config location in workflow 2024-01-12 13:52:39 +00:00
Nora 0b9e4e33b2 move config and fix tsconfig error 2024-01-12 13:36:11 +00:00
Nora b4a66a7690 Update readme 2024-01-12 13:35:51 +00:00
Koen Vlaswinkel ea1419add2
Merge pull request #3234 from github/koesie10/remove-jest-runner-installed-extensions
Simplify custom Jest test runner
2024-01-12 11:26:18 +01:00
Koen Vlaswinkel 0534cb7514 Simplify custom Jest test runner
The custom Jest test runner was originally written to install the
required extensions for the CLI integration tests. This is no longer
necessary as of https://github.com/github/vscode-codeql/pull/3232, so
we can remove all code that deals with downloading VS Code and
installing extensions. The download of VS Code will now be handled by
the base `VSCodeTestRunner`.
2024-01-12 09:49:20 +01:00
Dave Bartolomeo 2aacea4176 Fix test expectation 2024-01-11 18:58:44 -05:00
Dave Bartolomeo 2ccd99fc5b Don't use `${workspace}` in test pack 2024-01-11 18:40:03 -05:00
Dave Bartolomeo bdc94a3b23 Remove unused export 2024-01-11 18:05:00 -05:00
Dave Bartolomeo 29d8c65b59 Use `codeql pack create --mrva` if available 2024-01-11 17:43:42 -05:00
Dave Bartolomeo fb63ec7db0 Consume `codeql version` JSON output for feature capabilities 2024-01-11 21:59:54 +00:00
Dave Bartolomeo b67efeeacd
Merge pull request #3232 from github/dbartol/new-test-api
Switch to built-in VS Code test UI unconditionally
2024-01-11 16:48:56 -05:00
Dave Bartolomeo 4b3a008a45
Merge branch 'main' into dbartol/new-test-api 2024-01-11 12:22:18 -05:00
Dave Bartolomeo 1186026315 Remove old unit tests 2024-01-11 11:56:51 -05:00
Dave Bartolomeo 2ba23ceead Fold `TestManagerBase` and related functions into `TestManager` 2024-01-11 11:48:54 -05:00
dependabot[bot] c065c44ff3
Bump applicationinsights from 2.9.1 to 2.9.2 in /extensions/ql-vscode (#3228)
Bumps [applicationinsights](https://github.com/microsoft/ApplicationInsights-node.js) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/microsoft/ApplicationInsights-node.js/releases)
- [Commits](https://github.com/microsoft/ApplicationInsights-node.js/compare/2.9.1...2.9.2)

---
updated-dependencies:
- dependency-name: applicationinsights
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 08:44:11 -08:00
dependabot[bot] 0d2b7916ee
Bump msw from 2.0.11 to 2.0.13 in /extensions/ql-vscode (#3227)
Bumps [msw](https://github.com/mswjs/msw) from 2.0.11 to 2.0.13.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mswjs/msw/compare/v2.0.11...v2.0.13)

---
updated-dependencies:
- dependency-name: msw
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 08:43:49 -08:00