Commit Graph

4602 Commits

Author SHA1 Message Date
Nora
0739c46fed Add comments to gh api client and fix total number of returned repos 2023-05-31 11:30:31 +00:00
Nora
42436e623b Add JSDoc to db config store 2023-05-31 11:30:00 +00:00
Nora
4087620bf5 Polish copy 2023-05-30 14:30:07 +00:00
Nora
250089a9e3 Renaming and smaller merge comments 2023-05-25 10:02:22 +00:00
Nora
2e12b8d756 Rename command from importCodeSearch to importFromCodeSearch 2023-05-25 09:11:37 +00:00
Nora
49f3f5673d Show progress information when sending search api request 2023-05-24 16:26:08 +00:00
Nora
2b4e302e29 Surface truncated repos when a list hits 1000 items 2023-05-24 10:58:13 +00:00
Nora
d07b7c8c05 Add db manager test 2023-05-24 10:57:13 +00:00
Nora
dd01832ebe Add no more than 1000 items to a list plus tests 2023-05-24 08:06:31 +00:00
Nora
f76d7bfd96 Use pagination for code search api call 2023-05-24 08:05:30 +00:00
Nora
4d9e8d98b4 Ask for user input and add response to list 2023-05-23 07:13:05 +00:00
Nora
fed6158615 Add GH client method to query search endpoint 2023-05-22 15:48:41 +00:00
Nora
1955086cb6 Add new command and add it to db panel 2023-05-17 12:11:45 +00:00
Koen Vlaswinkel
d00624cc85 Merge pull request #2420 from github/koesie10/cancel-monitor-on-404
Cancel monitoring variant analysis on 404 response
2023-05-16 11:57:26 +02:00
Koen Vlaswinkel
2d2a1fb2d1 Add tests for variant analysis monitor 2023-05-15 15:41:15 +02:00
Koen Vlaswinkel
5b9ed39f4f Restart variant analysis monitor when reauthenticating 2023-05-15 15:08:32 +02:00
Koen Vlaswinkel
9e74ae0bbf Cancel monitoring variant analysis on 404 2023-05-15 15:08:32 +02:00
Koen Vlaswinkel
927a0f0691 Track currently monitoring variant analyses 2023-05-15 14:50:13 +02:00
Shati Patel
e9552df395 Create a basic tree view for the queries panel (#2418) 2023-05-15 11:10:51 +00:00
Alexander Eyers-Taylor
3e6372d6fa Better error handling for unexpected query server termination. (#2404)
* Log stdout when servers are terminated with errors.

This logs the last stdout chunk (probabaly the last line) if things
went wrong. This can sometimes be useful for debugging.

It also prints the signal when killed by a signal
(rather than printing null)

* Restart/Abort the queryserver if the process dies.

This cancels any running tasks and gives a limited number of restarts.

* Update extensions/ql-vscode/src/codeql-cli/cli.ts

Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>

* Update extensions/ql-vscode/src/query-server/query-server-client.ts

Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>

---------

Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
2023-05-11 12:39:31 +01:00
Shati Patel
d0ca885e80 Move Discovery class into common folder (#2414) 2023-05-10 16:58:26 +00:00
Shati Patel
7fd984a7d0 Add a new blank "queries" panel (#2412) 2023-05-10 13:23:43 +01:00
Koen Vlaswinkel
00f4bc1fda Merge pull request #2411 from github/koesie10/remove-deprecated-url-parse
Remove deprecated use of `url.parse`
2023-05-10 11:09:06 +02:00
Koen Vlaswinkel
7dfa6f0f58 Merge pull request #2408 from github/koesie10/replace-deprecated-storage-path
Replace deprecated `storagePath` by `storageUri`
2023-05-10 11:08:52 +02:00
Koen Vlaswinkel
8a75399cb7 Merge branch 'main' into koesie10/remove-deprecated-url-parse 2023-05-10 09:30:57 +02:00
Koen Vlaswinkel
6e5188fbbe Replace Uri.parse by Uri.file 2023-05-10 09:30:53 +02:00
Koen Vlaswinkel
ddbe3cdc2b Add test cases for containsPath 2023-05-09 14:20:15 +02:00
Koen Vlaswinkel
9290f57b62 Use normalized path for checking inclusion 2023-05-09 14:20:15 +02:00
Koen Vlaswinkel
a414213804 Replace deprecated storagePath by storageUri
This replaces access to the deprecated `storagePath` and
`globalStoragePath` to use `storageUri` and `globalStorageUri` instead.
2023-05-09 14:20:15 +02:00
Andrew Eisenberg
3ad006de92 Merge pull request #2401 from github/github-action/bump-cli
Bump CLI Version to v2.13.1 for integration tests
2023-05-09 03:58:53 -07:00
Shati Patel
e722bf3e0b Merge branch 'main' into github-action/bump-cli 2023-05-09 11:19:48 +01:00
Koen Vlaswinkel
9e7678de7a Remove deprecated use of url.parse
`url.parse` is deprecated and should be replaced by the WHATWG URL API,
so this makes that change. The `protocol` and `host` properties are
unchanged, so no other changes are needed.
2023-05-09 10:15:58 +02:00
Nora
a4f1f49506 Merge pull request #2409 from github/nora/split-codeql-goto-commands
Split codeQL.goto and codeQL.previewQueryHelp command
2023-05-08 17:00:21 +02:00
Nora
6deb04bd26 Split codeQL.previewQueryHelp command 2023-05-08 12:27:12 +00:00
Nora
b6df591329 Split codeQL.goto command 2023-05-08 12:15:07 +00:00
Andrew Eisenberg
5084b32152 Merge branch 'main' into github-action/bump-cli 2023-05-05 16:07:33 -07:00
Robert
bf9eb2469b Merge pull request #2370 from github/robertbrignull/undefined_codeflows
Avoid crashing when SARIF file contains invalid thread flow locations
2023-05-05 17:43:58 +01:00
Robert
78c4cc17e9 Revert change to generation of blank lines 2023-05-05 17:19:07 +01:00
Andrew Eisenberg
62f44c9f56 Merge pull request #2403 from github/aeisenberg/fix-integration-tests 2023-05-05 07:24:53 -07:00
Andrew Eisenberg
e4a2760470 Run integration tests on 1.77.3
This avoids a bug on 1.78.0 on linux. See
https://github.com/github/vscode-codeql/issues/2402
2023-05-05 14:04:32 +00:00
github-actions[bot]
67bd603327 Bump CLI version from v2.13.0 to v2.13.1 for integration tests 2023-05-04 18:10:07 +00:00
Elena Tanasoiu
3a5a81a599 Merge pull request #2359 from github/yer-a-ternary-choice-query
Add configuration option to turn off skeleton pack generation
2023-05-04 08:53:17 +01:00
Robert
ecfa701159 Add tests of tryGetFilePath 2023-05-03 17:24:41 +01:00
Robert
a3a6784539 Rename to teyGetFilePath to fit other methods 2023-05-03 17:20:00 +01:00
Elena Tanasoiu
9515e3bdf8 Merge branch 'main' into yer-a-ternary-choice-query 2023-05-03 17:16:50 +01:00
Robert
e097bc13fa Merge pull request #2400 from github/robertbrignull/test-plan
Update the test plan and add non-MRVA cases
2023-05-03 17:12:35 +01:00
Robert
b199d9485d Merge branch 'main' into robertbrignull/undefined_codeflows 2023-05-03 17:11:31 +01:00
Elena Tanasoiu
cc8f1fd839 Merge branch 'main' into yer-a-ternary-choice-query 2023-05-03 16:08:37 +01:00
Elena Tanasoiu
a85d9d1434 Update comment 2023-05-03 15:07:24 +00:00
Shati Patel
71611e03fe Add config options for default sorting/filtering values in variant analysis results view (#2392) 2023-05-03 14:52:35 +00:00