Robert
5f2a8fa1d5
Convert the codeQL.autoDownloadVariantAnalysisResult command
2023-03-20 17:41:21 +00:00
Robert
b55910d2b9
Convert the codeQL.monitorVariantAnalysis command
2023-03-20 17:32:35 +00:00
Robert
e586f3de53
Move codeQL.exportSelectedVariantAnalysisResults to query history manager
2023-03-20 16:59:51 +00:00
Robert
08849c1df4
Convert codeQL.copyVariantAnalysisRepoList command
2023-03-20 16:50:53 +00:00
Robert
aa64459353
Convert existing variant analysis commands to bind(this)
2023-03-20 16:50:53 +00:00
Robert
3c229d244e
Merge pull request #2186 from github/robertbrignull/export_results_telemetry
...
Add telemetry for exporting variant analysis results
2023-03-20 16:47:49 +00:00
Robert
fb70382929
Fix tests to not reference deleted command
2023-03-20 16:33:55 +00:00
Robert
f49314f6f3
Merge branch 'main' into robertbrignull/export_results_telemetry
2023-03-20 15:46:41 +00:00
Koen Vlaswinkel
9044d11d2b
Merge pull request #2190 from github/koesie10/typed-new-database-panel-commands
...
Convert new database panel to typed commands
2023-03-20 16:25:04 +01:00
Elena Tanasoiu
5444a9e55e
Fail gracefully if we can't set up code tour
...
We're running this at the extension start-up. We don't want it to block the extension
from completing activation, so let's swallow any errors from the code tour and output
them, instead of letting this affect the rest of the extension activation.
2023-03-20 15:01:04 +00:00
Elena Tanasoiu
4fa3c459a1
Open tutorial workspace on extension start
...
When opening https://github.com/github/codespaces-codeql/ in a
codespace, it's easy to miss the prompt that tells you to open the
tutorial.code-workspace file.
In fact people actively dismiss the alert to get it out of the way.
If you miss that prompt, you end up with a single-rooted workspace,
which causes various other problems.
While there is an open issue to allow VS Code to open a default
workspace [1], there doesn't seem to have been any progress on it
in the last two years.
So we're taking matters into our own hands and forcing the extension
to open the tutorial workspace, if it detects it.
This will only happen if the following three conditions are met:
- the .tours folder exists
- the tutorial.code-workspace file exists
- the CODESPACES_TEMPLATE setting hasn't been set
NB: the `CODESPACES_TEMPLATE` setting can only be found if the
tutorial.code-workspace has already been opened. So it's a good
indicator that we're in the folder, but the user has ignored the prompt.
[1]: https://github.com/microsoft/vscode-remote-release/issues/3665
2023-03-20 13:31:20 +00:00
Koen Vlaswinkel
2e9a22e86d
Convert new database panel to typed commands
...
This converts the new database panel to use typed commands. There should
be no changes in behaviour.
2023-03-20 13:52:32 +01:00
Robert
b76bef4246
Remove the codeQL.exportVariantAnalysisResults command
2023-03-20 12:33:51 +00:00
Koen Vlaswinkel
e603de41c1
Convert local database commands to typed commands
2023-03-20 11:39:53 +01:00
Koen Vlaswinkel
dbd832f1a0
Switch local databases to function definitions
...
The local databases UI was essentially the only class which was defining
methods using assignment to a class property rather than using function
definitions and binding them. This switches it to use function
definitions and binding, which is more consistent with the rest of the
codebase.
2023-03-20 11:29:45 +01:00
Robert
5b2093df8f
Merge pull request #2185 from github/robertbrignull/remove_internal_commands
...
Remove two more internal-only commands
2023-03-20 10:24:31 +00:00
Koen Vlaswinkel
af63e5094f
Convert `commandRunnerWithProgress` invocations to `withProgress`
2023-03-20 11:19:32 +01:00
Robert
94db1dff73
Remove codeQL.openVariantAnalysisQueryText command
2023-03-17 16:13:21 +00:00
Robert
a44ecadae5
Add telemetry for exporting variant analysis results
2023-03-17 16:09:00 +00:00
Robert
a375afd61b
Remove codeQL.cancelVariantAnalysis command
2023-03-17 15:48:00 +00:00
Charis Kyriakou
42ce27b112
Merge pull request #2183 from github/charis/remove-primer
...
Remove primer packages and make styled-components a top-level dependency
2023-03-17 14:46:02 +00:00
Koen Vlaswinkel
f86c0b826a
Merge pull request #2176 from github/koesie10/query-history-commands-typed
...
Convert query history commands to typed commands
2023-03-17 15:28:21 +01:00
Charis Kyriakou
2d46365406
Add styled-components as a top level dependency
2023-03-17 14:19:22 +00:00
Charis Kyriakou
50e89ba1a3
Remove primer packages
2023-03-17 13:46:43 +00:00
Charis Kyriakou
7914403da0
Wire up data flow paths view ( #2182 )
2023-03-17 13:30:32 +00:00
Koen Vlaswinkel
5be08d7c92
Revert change to context menu name
2023-03-17 12:29:25 +01:00
Robert
df24a705b0
Merge pull request #2179 from github/robertbrignull/remove_openVariantAnalysisQueryFile_command
...
Remove codeQL.openVariantAnalysisQueryFile command
2023-03-17 11:23:31 +00:00
Koen Vlaswinkel
fce51ca9a2
Convert query history commands to typed commands
2023-03-17 10:54:40 +01:00
Charis Kyriakou
8a5273058b
Add new data flow paths view (empty) ( #2172 )
2023-03-17 09:25:03 +00:00
Koen Vlaswinkel
f3274b39d2
Merge pull request #2015 from github/dependabot/npm_and_yarn/extensions/ql-vscode/glob-promise-6.0.2
...
Bump glob-promise from 4.2.2 to 6.0.2 in /extensions/ql-vscode
2023-03-17 09:49:53 +01:00
Koen Vlaswinkel
38e551bb2a
Merge pull request #1930 from github/dependabot/npm_and_yarn/extensions/ql-vscode/tar-stream-3.0.0
...
Bump tar-stream from 2.2.0 to 3.0.0 in /extensions/ql-vscode
2023-03-17 09:48:52 +01:00
dependabot[bot]
cc53cd54c4
Bump webpack-cli from 4.6.0 to 5.0.1 in /extensions/ql-vscode ( #2181 )
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.6.0 to 5.0.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases )
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.6.0...webpack-cli@5.0.1 )
---
updated-dependencies:
- dependency-name: webpack-cli
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 09:38:00 -07:00
Robert
61cc9191f9
Merge pull request #2139 from github/robertbrignull/webview_error_telemetry
...
Add listeners for unhandled errors to web views
2023-03-16 11:18:52 +00:00
Robert
f2f1b1d6a3
Collect common messages
2023-03-16 10:59:02 +00:00
Robert
64531f5a6f
Check undefined instead of using typeof
2023-03-16 10:54:29 +00:00
Robert
29bb7ce01e
Emit telemetry when opening variant analysis query file
2023-03-16 10:39:02 +00:00
Robert
9045253624
Merge pull request #2178 from github/robertbrignull/split-commands/codeQLQueryHistory.openQuery
...
Split up codeQLQueryHistory.openQuery command
2023-03-15 17:12:06 +00:00
Robert
34ab409050
Remove codeQL.openVariantAnalysisQueryFile command
2023-03-15 17:06:17 +00:00
Robert
e6f543670a
Split up codeQLQueryHistory.openQuery command
2023-03-15 16:54:46 +00:00
Robert
04c24d0996
Merge pull request #2177 from github/robertbrignull/split-commands/codeQLQueryHistory.removeHistoryItem
...
Split up the codeQLQueryHistory.removeHistoryItem command
2023-03-15 16:54:24 +00:00
Koen Vlaswinkel
41ca0ffba6
Merge pull request #2175 from github/dependabot/npm_and_yarn/extensions/ql-vscode/lint-staged-13.2.0
...
Bump lint-staged from 10.2.11 to 13.2.0 in /extensions/ql-vscode
2023-03-15 17:16:03 +01:00
Robert
84f60ccb8c
Avoid duplicate use of the codeQLQueryHistory.removeHistoryItem command
2023-03-15 16:11:40 +00:00
dependabot[bot]
0fa0fa3523
Bump tar-stream from 2.2.0 to 3.0.0 in /extensions/ql-vscode
...
Bumps [tar-stream](https://github.com/mafintosh/tar-stream ) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/mafintosh/tar-stream/releases )
- [Commits](https://github.com/mafintosh/tar-stream/compare/v2.2.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: tar-stream
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 16:10:41 +00:00
dependabot[bot]
fe554ee2a7
Bump glob-promise from 4.2.2 to 6.0.2 in /extensions/ql-vscode
...
Bumps [glob-promise](https://github.com/ahmadnassri/node-glob-promise ) from 4.2.2 to 6.0.2.
- [Release notes](https://github.com/ahmadnassri/node-glob-promise/releases )
- [Commits](https://github.com/ahmadnassri/node-glob-promise/compare/v4.2.2...v6.0.2 )
---
updated-dependencies:
- dependency-name: glob-promise
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 16:09:35 +00:00
Koen Vlaswinkel
019af98f40
Merge pull request #2171 from github/koesie10/commands-with-progress
...
Convert run variant analysis command to new commands package
2023-03-15 16:39:35 +01:00
Koen Vlaswinkel
c853bafb91
Merge remote-tracking branch 'origin/main' into koesie10/commands-with-progress
2023-03-15 15:43:34 +01:00
Robert
c632c38220
Merge pull request #2087 from github/robertbrignull/no-nested-functions
...
Avoid having functions that aren't at the top level in extension.ts
2023-03-15 14:21:23 +00:00
Robert
fd570abdcd
Merge branch 'main' into robertbrignull/no-nested-functions
2023-03-15 13:37:35 +00:00
Robert
e81d585336
Swap arguments so command arg comes last
2023-03-15 13:36:57 +00:00
Anders Starcke Henriksen
dc55ef9985
Merge pull request #2157 from github/starcke/commands-registration
...
Commands registration
2023-03-15 14:05:25 +01:00