dependabot[bot]
325cc05f36
Bump actions/setup-node from 3 to 4 ( #3024 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
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-10-26 11:02:49 -07:00
dependabot[bot]
721d971a66
Bump msw from 0.0.0-fetch.rc-9 to 2.0.0 in /extensions/ql-vscode
...
Bumps [msw](https://github.com/mswjs/msw ) from 0.0.0-fetch.rc-9 to 2.0.0.
- [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/v0.0.0-fetch.rc-9...v2.0.0 )
---
updated-dependencies:
- dependency-name: msw
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-26 13:28:50 +00:00
github-actions[bot]
cc8bcbbc5d
Bump version to v1.9.4 ( #3023 )
...
Co-authored-by: github-actions[bot] <github-actions@github.com >
2023-10-26 11:20:22 +00:00
Charis Kyriakou
5375fcb26a
v1.9.3 ( #3022 )
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.9.3
2023-10-26 11:11:17 +01:00
Koen Vlaswinkel
f5d86777ae
Update synthetic query pack name
2023-10-26 11:57:50 +02:00
Koen Vlaswinkel
ff36088ecc
Merge pull request #3012 from github/koesie10/use-selected-queries-item
...
Create new queries in selected folder of queries panel
2023-10-26 11:55:42 +02:00
Koen Vlaswinkel
b19e970ec5
Fix error message when running model editor queries
2023-10-26 11:43:05 +02:00
Koen Vlaswinkel
f379036c18
Fix error message for bundled model editor queries
2023-10-26 11:42:41 +02:00
Koen Vlaswinkel
30daf49cb8
Rename external-api-usage-queries.ts to model-editor-queries.ts
2023-10-26 11:41:56 +02:00
Koen Vlaswinkel
ea2999fcc7
Rename model-editor-queries.ts to model-editor-queries-setup.ts
2023-10-26 11:41:32 +02:00
Koen Vlaswinkel
c548aa0ff9
Remove unnecessary nesting in external-api-usage-query.test.ts
2023-10-26 11:40:58 +02:00
Koen Vlaswinkel
e70bceb6dd
Rename runExternalApiQueries to runModelEditorQueries
2023-10-26 11:40:26 +02:00
Koen Vlaswinkel
818e93e86b
Rename prepareExternalApiQuery to prepareModelEditorQueries
2023-10-26 11:39:06 +02:00
Koen Vlaswinkel
322b376a2c
Remove unused predicates file
2023-10-26 11:34:46 +02:00
Koen Vlaswinkel
0744b25a47
Use new language definitions for the view
2023-10-26 11:33:36 +02:00
Koen Vlaswinkel
8e721a6670
Use new language definitions for reading/writing
2023-10-26 11:33:34 +02:00
Koen Vlaswinkel
df3b94c081
Add language to model editor view
2023-10-26 11:33:10 +02:00
Koen Vlaswinkel
8a77a1fba2
Introduce separate files for predicate definitions
2023-10-26 11:33:08 +02:00
Koen Vlaswinkel
c9d1a6b447
Move predicates file to languages folder
2023-10-26 11:23:51 +02:00
Charis Kyriakou
234498a33e
Enable multiple models feature ( #3019 )
2023-10-26 09:13:25 +00:00
Koen Vlaswinkel
40a77dfd4a
Merge pull request #3018 from github/koesie10/fix-empty-location
...
Fix empty message with empty SARIF path
2023-10-26 11:04:45 +02:00
Koen Vlaswinkel
06b6595980
Update CHANGELOG
2023-10-26 10:42:11 +02:00
Shati Patel
9a97b7b0be
Deselect current db when the language context changes ( #3007 )
2023-10-25 14:54:01 +01:00
Koen Vlaswinkel
6622d5e114
Fix empty message with empty SARIF path
2023-10-25 14:55:15 +02:00
Koen Vlaswinkel
f0f5538b51
Remove check for isFolderAlreadyInWorkspace
2023-10-25 14:37:11 +02:00
Nora
3f8302796f
Merge pull request #3010 from github/nora/modeling-flow-testplan
...
Add method modeling flow to test plan
2023-10-25 14:28:59 +02:00
Koen Vlaswinkel
a3fad49577
Fix creation of nested query packs
...
Before, if you had selected a folder or file within for example
`codeql-custom-queries-java` and selected `java` as the language, it
would create a nested folder within `codeql-custom-queries-java` with
the name `codeql-custom-queries-java`. This is unexpected for the user,
who would expect a new query to be created within
`codeql-custom-queries-java`. This fixes that by checking for this
specific condition. It does not fix it for all scenarios, such as where
the selected file/folder is nested multiple levels deep within the
`codeql-custom-queries-java` folder.
2023-10-25 14:28:50 +02:00
Koen Vlaswinkel
68ab2fda2d
Create new queries in selected folder of queries panel
...
This will change the behavior of the "Create new query" command to
create the new query in the same folder as the first selected item in
the queries panel. If no items are selected, the behavior is the same
as before.
I've used events to communicate the selection from the queries panel to
the local queries module. This is some more code and some extra
complexity, but it ensures that we don't have a dependency from the
local queries module to the queries panel module. This makes testing
easier.
2023-10-25 14:28:48 +02:00
Koen Vlaswinkel
f3eefc9418
Add tests for prompting for database download
2023-10-25 14:22:55 +02:00
Koen Vlaswinkel
15a8655931
Do not prompt for database download by default
...
This changes the skeleton query wizard to not prompt for database
download after creating a query by default. Instead, it will show a
message with a button to download a database which will launch the same
prompt.
2023-10-25 14:22:55 +02:00
Koen Vlaswinkel
fb33879a95
Merge pull request #3015 from github/koesie10/reveal-file-in-queries-panel
...
Reveal opened files in queries panel
2023-10-25 13:58:08 +02:00
Nora
0e5306742d
Move test cases to optional and polish
2023-10-25 08:57:34 +00:00
Koen Vlaswinkel
3a07fa9e39
Show initially open file in queries panel
2023-10-25 10:13:48 +02:00
Koen Vlaswinkel
b6f7755908
Create subscribeToTreeSelectionEvents method
2023-10-25 10:06:14 +02:00
Koen Vlaswinkel
368f9c38ef
Only change selection when tree view is visible
2023-10-25 10:04:31 +02:00
Koen Vlaswinkel
1e58e5a723
Reveal opened file in queries panel
2023-10-25 10:04:31 +02:00
Robert
2ebccd532f
Merge pull request #3014 from github/robertbrignull/hidden_methods
...
Use the same logic for hiding methods in model editor and usages panel
2023-10-25 09:04:06 +01:00
Robert
231dcc0c55
Improve tests to cover showing supported modeled methods
2023-10-24 16:49:21 +01:00
Robert
675e2ec9f2
Use the same condition for hiding methods in model editor and usages panel
2023-10-24 16:34:39 +01:00
Shati Patel
f0f13f3569
Create query: open new query in editor before downloading DB ( #3009 )
2023-10-24 13:30:01 +00:00
Robert
8d336930c8
Merge pull request #3008 from github/robertbrignull/modeled_row_styling
...
Fix styling of "already modeled" rows when showing multiple methods
2023-10-24 14:13:18 +01:00
Koen Vlaswinkel
043cdab297
Merge pull request #3013 from github/koesie10/use-selected-language
...
Use selected language when creating query
2023-10-24 15:02:05 +02:00
Charis Kyriakou
b1172d7d64
Activate method modeling panel when model editor is opened ( #3011 )
2023-10-24 12:55:19 +01:00
Koen Vlaswinkel
8b5329fe08
Use selected language when creating query
...
This will change the "Create new query" command to use the selected
language when creating a new query. If no language is selected, it will
still prompt the user to pick a language.
2023-10-24 13:41:37 +02:00
Nora
7bade3e382
Include model panels in mandatory tests
2023-10-24 10:03:54 +00:00
Robert
eb42beee23
Move method classifications to start
2023-10-24 10:12:05 +01:00
Robert
2405628bcc
Fix span size
2023-10-24 10:11:50 +01:00
Robert
0a75a0e835
Merge pull request #2983 from github/robertbrignull/remove_selected_model
...
Handle when the number of modeled methods decreases
2023-10-23 14:34:17 +01:00
Robert
07a4ffb306
Add tests that pagination is updated when a model is removed
2023-10-23 13:50:29 +01:00
Robert
1424afc7a4
Add tests that pagination is updated when add a new model
2023-10-23 13:46:10 +01:00