Robert
b9ce91cff9
Add a QueryDiscoverer interface to make testing QueryTreeDataProvider easier
2023-05-24 11:42:23 +01:00
Shati Patel
7ef35af68a
Don't create "." directory in queries/tests tree view ( #2442 )
2023-05-24 10:15:34 +01:00
Robert
f6b0ae2032
Merge pull request #2437 from github/robertbrignull/query-event-emitter
...
Use app.createEventEmitter in QueryDiscovery
2023-05-23 10:27:20 +01:00
Robert
57f04fcae5
Add type to onDidChangeQueriesEmitter
2023-05-23 09:46:04 +01:00
Robert
da5d0d2a84
Use app.createEventEmitter in QueryDiscovery
2023-05-22 14:34:44 +01:00
Robert
73f359c0d0
Merge pull request #2434 from github/robertbrignull/disposable-event-emitter
...
Mark AppEventEmitter as disposable
2023-05-22 13:54:34 +01:00
Robert
f855d81526
Make sure DbManager is also disposed
2023-05-22 13:34:48 +01:00
Robert
73e41f8d61
Mark AppEventEmitter as disposable
2023-05-22 12:28:24 +01:00
Robert
018440f266
Merge pull request #2433 from github/robertbrignull/query-discovery
...
Hook queries panel up to real data
2023-05-22 11:51:25 +01:00
Koen Vlaswinkel
189a1328cd
Merge pull request #2428 from github/koesie10/unsupported-cli-version-check
...
Add warning when using unsupported CLI version
2023-05-22 12:49:52 +02:00
Robert
cda3483b01
Use getOnDiskWorkspaceFoldersObjects early instead of getting all folders and filtering later
2023-05-22 10:51:32 +01:00
Robert
78f11397e2
Exclude src archives and other non-normal workspace folders
2023-05-22 10:42:47 +01:00
Robert
935c9b996f
Don't include bad workspace roots in the list
2023-05-22 10:41:49 +01:00
Koen Vlaswinkel
e91e9d2654
Merge branch 'main' into koesie10/unsupported-cli-version-check
2023-05-22 11:37:58 +02:00
Koen Vlaswinkel
791a445342
Update copy of deprecation warning message
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2023-05-22 11:37:42 +02:00
Koen Vlaswinkel
4ea1bb5f1c
Merge pull request #2427 from github/koesie10/export-copy-selected-text
...
Update export/copy buttons copy when repositories are selected
2023-05-22 11:36:31 +02:00
Koen Vlaswinkel
8f3fe7412e
Merge branch 'main' into koesie10/export-copy-selected-text
2023-05-22 10:52:01 +02:00
Robert
4e46d87a77
Use name from file tree instead of calculating from path
2023-05-19 17:09:21 +01:00
Robert
a8f8990793
Hook query discovery results up to query panel
2023-05-19 17:09:21 +01:00
Robert
0a534ae360
Add QueryDiscovery class
2023-05-19 17:09:21 +01:00
Robert
13f8f19339
Add resolveQueries to CodeQL CLI
2023-05-19 17:09:21 +01:00
Robert
a3f2b7b1ca
Merge pull request #2431 from github/robertbrignull/app-workspace
...
Add workspace folders to App interface
2023-05-19 17:08:59 +01:00
Robert
6371356b4b
Merge pull request #2432 from github/robertbrignull/tree-node-shared
...
Pull out node classes to shared location
2023-05-19 17:06:24 +01:00
Robert
a7f6401be7
Add workspace folders to App interface
2023-05-19 15:28:04 +01:00
Robert
a5af2f2e4b
Pull out node classes to shared location
2023-05-19 13:04:58 +01:00
Andrew Eisenberg
3ebd13df57
Merge pull request #2425 from github/aeisenberg/truncated-log-msg
...
Ensure full stack traces are included in log messages
2023-05-17 08:51:35 -07:00
Koen Vlaswinkel
d28ee6dbf1
Merge branch 'main' into koesie10/unsupported-cli-version-check
2023-05-17 17:12:23 +02:00
Andrew Eisenberg
4ad3f7cb1f
Merge branch 'main' into aeisenberg/truncated-log-msg
2023-05-17 08:08:34 -07:00
Andrew Eisenberg
0f1f00dfc8
Merge pull request #2424 from github/aeisenberg/update-changelog
...
Update changelog
2023-05-17 08:08:07 -07:00
Koen Vlaswinkel
3e9b4273c3
Update CHANGELOG
2023-05-17 16:55:11 +02:00
Robert
b47f018b69
Merge pull request #2426 from github/robertbrignull/open-on-click
...
Open query file on click
2023-05-17 15:54:11 +01:00
Koen Vlaswinkel
5a7f5c2ff1
Update CHANGELOG
2023-05-17 16:46:35 +02:00
Koen Vlaswinkel
ee2d78fbfc
Add warning when using unsupported CLI version
...
This adds a warning when the user is using an unsupported version of the
CodeQL CLI. The warning is shown once per session, and only if the
version is older than the oldest supported version.
2023-05-17 16:25:06 +02:00
shati-patel
565a7a53e0
Only implement "open file" when you click a file node (not a folder)
2023-05-17 14:43:43 +01:00
Koen Vlaswinkel
0125d10ffb
Take filtered state into account for buttons text
...
When the user filters the repositories, the buttons should reflect that
the results are filtered and that the user is not exporting or copying
all the results. If the user has selected repositories, the buttons
should still say that they are exporting selected results.
2023-05-17 15:08:55 +02:00
Koen Vlaswinkel
fa39bd1c2c
Update export/copy buttons copy when repositories are selected
...
This changes the text of the export/copy buttons on a variant analysis
when at least one repository is selected. This makes it more clear that
the user is only exporting/copying the results of the selected
repositories.
2023-05-17 15:03:28 +02:00
Robert
ec1fda21d0
Open query file on click
2023-05-17 12:16:09 +01:00
Robert
baea36561d
Merge pull request #2423 from github/robertbrignull/query-tree-types
...
Simplify types around query panel
2023-05-17 10:39:43 +01:00
Andrew Eisenberg
55b65e33ad
Update changelog
2023-05-16 14:51:03 -07:00
Andrew Eisenberg
276e2cfdcf
Ensure full stack traces are included in log messages
...
Pass in the `fullMessage` to `internalShowAndLog` so that stack traces
aren't truncated.
2023-05-16 14:48:19 -07:00
Andrew Eisenberg
91c58f3618
Update changelog
...
For #2422 .
2023-05-16 12:32:29 -07:00
Robert
1ceccc8b4d
Avoid double-declaring fields that are inherited from TreeItem
2023-05-16 16:57:02 +01:00
Robert
b0371b5075
Simplify types on TreeDataProvider methods
2023-05-16 16:55:52 +01:00
Shati Patel
9ce95a3554
Queries panel: Expand/collapse child nodes ( #2419 )
2023-05-16 15:45:59 +00:00
Andrew Eisenberg
1dc83c5628
Merge pull request #2422 from github/aeisenberg/compare-view-quick-eval
...
Allow compare view to work with quick-eval
2023-05-16 08:41:12 -07: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
Andrew Eisenberg
4c33c06d55
Allow compare view to work with quick-eval
...
The compare view typically works by matching the results sets of
queries. It only allows the results sets of queries with identical
names to be compared.
Manually run queries use `#select` as the default result set. However,
quick eval queries use a different, generated, name. Therefore, these
two kinds of queries cannot be compared.
This commit changes the heuristics so that if there are no identical;y
named results sets, the first result set of each query that is prefixed
with `#` is used (this is the default result set).
It also makes a slightly nicer error message if there are no comparable
results sets.
2023-05-15 15:51:48 -07: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