Koen Vlaswinkel
a0ba1126cb
Merge pull request #2131 from github/koesie10/fix-delete-local-query
...
Fix error while deleting query history item
2023-03-02 14:08:26 +01:00
Koen Vlaswinkel
d574f3d94c
Fix error while deleting query history item
...
When deleting a query history item and the "next" query is still
running, the `completedQuery` is `undefined`. This commit fixes it by
using optional chaining to ensure that the `completedQuery` is defined
before accessing its `successful` property.
2023-03-02 12:32:45 +01:00
Koen Vlaswinkel
11b63f39b4
Merge pull request #2123 from github/koesie10/remove-unknown-database-item
...
Remove additional `as unknown as` for database items
2023-03-02 12:23:03 +01:00
Koen Vlaswinkel
216413e5d7
Merge pull request #2124 from github/koesie10/move-tests
...
Move variant analysis tests out from the CLI integration test suite
2023-03-02 12:22:39 +01:00
Charis Kyriakou
5555fcaded
Merge pull request #2118 from github/charisk/variant-analysis-scrubbing
...
Clean up variant analyses from query history
2023-03-02 09:26:49 +00:00
Koen Vlaswinkel
68fb744eab
Merge pull request #2085 from github/koesie10/fix-graphviz-wasm
...
Fix Graphviz WASM module not loading for graph viewer
2023-03-02 10:00:18 +01:00
Andrew Eisenberg
3de6a110ce
Merge pull request #2130 from github/version/bump-to-v1.7.12
...
Bump version to v1.7.12
2023-03-01 13:06:10 -08:00
github-actions[bot]
dd19ebdfdb
Bump version to v1.7.12
2023-03-01 19:07:38 +00:00
Andrew Eisenberg
6bbb14edd4
Merge pull request #2129 from github/v1.7.11
...
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
v1.7.11
v1.7.11
2023-03-01 10:57:50 -08:00
Andrew Eisenberg
fb5675a7c5
Update extensions/ql-vscode/CHANGELOG.md
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2023-03-01 10:42:26 -08:00
Andrew Eisenberg
82a2db9fec
v1.7.11
...
Release prep and fix markdown linting warnings in test plan.
2023-03-01 18:33:51 +00:00
Andrew Eisenberg
25d85c3e61
Merge pull request #2128 from github/revert-2120-charisk/learn-more-controller-repo
...
Revert "Add controller repo 'learn more' link"
2023-03-01 09:43:20 -08:00
Andrew Eisenberg
81e6d8583a
Merge pull request #2127 from github/revert-2121-charisk/mrva-public-beta
...
Revert "Move MRVA out of canary"
2023-03-01 09:35:42 -08:00
Andrew Eisenberg
ea9dede453
Merge pull request #2126 from github/charisk/cli-v2.12.3-hack
...
Hack to avoid CodeQL CLI v2.12.3
2023-03-01 09:33:21 -08:00
Charis Kyriakou
e9062551ee
Revert "Add controller repo 'learn more' link ( #2120 )"
...
This reverts commit fd6cd1f2d2 .
2023-03-01 17:03:24 +00:00
Charis Kyriakou
dd2e79477f
Revert "Move MRVA out of canary "
2023-03-01 17:02:11 +00:00
Charis Kyriakou
e9787c2702
Hack to avoid CodeQL CLI v2.12.3
2023-03-01 16:26:49 +00:00
Koen Vlaswinkel
304330074d
Add some additional safety to allowWasmEval
2023-03-01 17:17:27 +01:00
Koen Vlaswinkel
074229e2a0
Clarify some comments
2023-03-01 17:17:06 +01:00
Koen Vlaswinkel
b679c18b0b
Move variant analysis results zip to be next to tests
2023-03-01 14:09:09 +01:00
Koen Vlaswinkel
c3799bdb5a
Move variant analysis results manager tests to activated extension suite
2023-03-01 14:07:49 +01:00
Koen Vlaswinkel
daaeb5be3f
Move some variant analysis manager test to activated extension suite
2023-03-01 14:03:00 +01:00
Koen Vlaswinkel
2b346b6873
Move variant analysis monitor tests to activated extension suite
2023-03-01 13:54:54 +01:00
Koen Vlaswinkel
1c6ecf4a5c
Remove as unknown as FullDatabaseOptions
2023-03-01 13:11:32 +01:00
Koen Vlaswinkel
59cc93f94f
Remove as unknown as DatabaseItem
2023-03-01 13:11:32 +01:00
Charis Kyriakou
56d283f6d5
Merge pull request #2121 from github/charisk/mrva-public-beta
...
Move MRVA out of canary
2023-03-01 09:55:28 +00:00
Charis Kyriakou
fd6cd1f2d2
Add controller repo 'learn more' link ( #2120 )
2023-03-01 09:40:11 +00:00
Koen Vlaswinkel
b3d9804842
Only enable graph viewer in canary mode
2023-03-01 09:52:56 +01:00
Shati Patel
57a4a2f717
Merge pull request #2112 from github/github-action/bump-cli
...
Bump CLI Version to v2.12.3 for integration tests
2023-02-28 16:25:28 +00:00
Charis Kyriakou
ff0425d889
Update CHANGELOG to include MRVA
2023-02-28 15:02:37 +00:00
Elena Tanasoiu
5fd902257e
Merge pull request #2111 from github/elena/update-tutorial-database-path
...
Update path to codespace tutorial database
2023-02-28 14:51:14 +00:00
Koen Vlaswinkel
d3e64539d0
Only allow WASM execution in results view
2023-02-28 15:22:23 +01:00
Charis Kyriakou
55761aa4ee
Update README to include MRVA
2023-02-28 14:06:26 +00:00
Charis Kyriakou
1bf7fc148a
MRVA execution not behind canary
2023-02-28 14:04:30 +00:00
Charis Kyriakou
590b839166
MRVA repositories panel not behind canary
2023-02-28 14:04:30 +00:00
Charis Kyriakou
06463a25e6
Clean up variant analyses directory
2023-02-28 13:02:37 +00:00
Charis Kyriakou
7b2ef6bf76
Pass both local queries and variant analyses dirs in query history scrubber
2023-02-28 13:02:01 +00:00
Koen Vlaswinkel
fd57133a41
Merge pull request #2103 from github/koesie10/mock-more-objects
...
Remove more instances of `as unknown as`
2023-02-28 13:44:41 +01:00
Nora
f39bbd325c
Merge pull request #2119 from github/nora/cleanup-split-runquery
...
Remove new commands from command palette
2023-02-28 13:28:16 +01:00
Nora
9a53b637e8
Remove new commands from comman palette
2023-02-28 11:42:08 +00:00
Nora
eb25f31b9f
Merge pull request #2117 from github/nora/split-run-query
...
Split usage of runQuery and runQueryOnMultipleDatabases
2023-02-28 12:26:39 +01:00
Nora
7188d8df41
reorder command
2023-02-28 11:01:44 +00:00
Robert
badbee1bfb
Merge pull request #2101 from github/robertbrignull/unique-command-use-query
...
Add unique-command-use.ql
2023-02-28 09:15:18 +00:00
Elena Tanasoiu
2f92ea396a
Merge pull request #2090 from github/elena/install-csv-depenedencies
...
Install dependencies for tutorial query in codespace
2023-02-27 20:24:04 +00:00
Elena Tanasoiu
1f4790bbb7
Use join as it's meant to be used
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2023-02-27 20:09:05 +00:00
Elena Tanasoiu
28abc1e3a6
Don't reparse Uri path
...
I was initially trying to understand why this method was failing due
to an unrelated error [1] so I ended up over-engineering the path
parsing.
We can use the path from the first workspace folder, like we do in
other places in the extension.
[1]: https://github.com/github/vscode-codeql/pull/2104
2023-02-27 20:09:05 +00:00
Elena Tanasoiu
9b7c3bc2bf
Install dependencies for tutorial query in codespace
...
When a user goes through the Code Tour, we select a dummy `csv` database
for them to get them up and running.
Once they complete the code tour and would like to continue writing
queries, they will need to add their own database.
After they do that, we check the language of their new database and
generate a skeleton QL pack for them so that they don't need to create
these files by hand. See [1] for details.
This skeleton pack folder will be called
`codeql-custom-queries-<language>` and it comes with its own example
query: `example.ql`.
When we try to run this example query, the query gets confused about
which `dbscheme` to pick, as it sees a `qlpack.yml` file in the new
skeleton pack folder, as well as one in the existing `tutorial-lib`
folder.
So we'll need to get rid of the `tutorial-lib` folder in order to make room
for new queries to be run once the tour is complete.
This commit introduces a `handleTourDependencies` step which will
trigger a `codeql pack install` command in order to install real library
dependencies for `tutorial-queries`, since we no longer have the dummy
library in `tutorial-lib`.
2023-02-27 20:09:04 +00:00
Robert
4d73e1a068
Remove getLocationOrdinal
2023-02-27 17:46:49 +00:00
Robert
6f5ac5df4f
Introduce getAUse
2023-02-27 17:45:24 +00:00
Robert
4c880dfb19
Fix typos
2023-02-27 17:42:43 +00:00