Commit Graph

347 Commits

Author SHA1 Message Date
Robert
ffc7135c1f Revert "Remove short-paths.test.ts"
This reverts commit 10f4b47019.
2024-06-18 09:31:33 +00:00
Robert
10f4b47019 Remove short-paths.test.ts 2024-06-13 11:03:37 +00:00
Koen Vlaswinkel
086d8e2104 Update prompts to use GHEC-DR URL 2024-05-13 11:19:31 +02:00
Koen Vlaswinkel
ca092a1623 Use GHEC-DR URL in Actions workflow run URL 2024-05-13 11:19:30 +02:00
Koen Vlaswinkel
529bbe3ffa Handle GHEC-DR repository URLs 2024-05-13 11:19:30 +02:00
Koen Vlaswinkel
31b2d24ca9 Update custom errors to use GHEC-DR URL 2024-05-13 11:19:30 +02:00
Robert
58de4864c0 Pass VariantAnalysisConfig into DbManager to avoid vscode dependency 2024-04-18 09:55:21 +01:00
Robert
17ff592a60 Hide system defined lists when enterprise URI is set 2024-04-17 14:31:14 +01:00
Koen Vlaswinkel
d67cf4b9f7 Remove codeQL.model.showTypeModels config
This removes the `codeQL.model.showTypeModels` setting. We will now
always show type models in the model editor. This also means that the
"auto-generation mode" needs to change to `models` to ensure that the
type models are actually shown to the user. This is done for Ruby, which
is currently the only language to show type models.
2024-04-15 16:52:27 +02:00
Koen Vlaswinkel
8c784d8391 Merge pull request #3543 from github/koesie10/pack-name-config
Add `codeQL.model.packName` setting
2024-04-10 17:03:36 +02:00
Koen Vlaswinkel
3f4ed48787 Trim whitespace and slashes in pack names 2024-04-10 15:08:35 +02:00
Koen Vlaswinkel
8e231d7b1d Add unit tests for Python argument options 2024-04-08 14:49:09 +02:00
Koen Vlaswinkel
bf9bfb13b7 Add codeQL.model.packName setting 2024-04-08 14:42:47 +02:00
Koen Vlaswinkel
8cb2b34992 Add helper for substituting config variables 2024-04-03 14:42:31 +02:00
Shati Patel
7a41d9c605 Add unit test for createModeledMethodKey (#3521) 2024-03-28 11:32:34 +00:00
Charis Kyriakou
21c33b762c Added filtering and sorting in the model alerts view (#3509) 2024-03-25 17:18:09 +00:00
Charis Kyriakou
115ff838c5 Add model packs to variant analyses (#3472) 2024-03-14 14:39:30 +00:00
Koen Vlaswinkel
7681a56a16 Fix location of removing dots 2024-03-11 14:14:28 +01:00
Koen Vlaswinkel
bbc09f3ae5 Merge remote-tracking branch 'origin/main' into koesie10/unique-database-names 2024-03-11 12:49:32 +01:00
Koen Vlaswinkel
e8efbbb9fd Introduce createFilenameFromString function 2024-03-11 11:31:43 +01:00
Robert
fe6dc8a7a3 Move findDirWithFile to files.ts 2024-03-07 16:31:01 +00:00
Charis Kyriakou
b884cff14d Some restructuring around variant analysis mapper functions (#3412) 2024-02-28 11:45:49 +00:00
Koen Vlaswinkel
7dceded98c Use showTypeModels setting instead of canary mode 2024-02-26 12:11:16 +01:00
Koen Vlaswinkel
22024462fb Generate separate file for generated type models in Ruby 2024-02-23 15:38:12 +01:00
Robert
4096ded330 Merge branch 'main' into robertbrignull/automodel-sort-order 2024-02-21 17:38:50 +00:00
Robert
fee7eae702 Merge pull request #3377 from github/robertbrignull/disable-automodel-button
Disable the automodel button if there are no methods that can be modeled
2024-02-21 16:11:21 +00:00
Robert
2fdafaf616 Move getCandidates to the shared directory 2024-02-21 12:29:43 +00:00
Robert
b59437e7dc Cover in unit test that unmodeled and unsaved manual models are sorted together 2024-02-21 11:49:13 +00:00
Robert
759f8d4768 Give test methods signatures that'll be easier to identify 2024-02-21 11:39:54 +00:00
Robert
3ca4c7623e Update sort order for supported methods and unsaved manual models 2024-02-21 11:38:58 +00:00
Robert
1bad26a67d Merge branch 'main' into robertbrignull/automodel-sort-order 2024-02-21 10:33:27 +00:00
Koen Vlaswinkel
db73cfeb76 Merge pull request #3378 from github/koesie10/ignore-more-location-indexes
Ignore more location indexes in SARIF comparison
2024-02-21 10:37:47 +01:00
Robert
95fd015414 Add unit tests of method sorting 2024-02-20 16:07:03 +00:00
Koen Vlaswinkel
694bb21713 Ignore more location indexes in SARIF comparison 2024-02-20 14:32:41 +01:00
Robert
dbdb561598 Don't send methods to AutoModel more than once 2024-02-20 12:06:07 +00:00
Shati Patel
f1cc347e2a Add "short-paths" test (#3350) 2024-02-15 16:09:35 +00:00
Koen Vlaswinkel
070af9eb42 Add support for Python in the model editor 2024-02-13 15:22:37 +01:00
Koen Vlaswinkel
0b4c611a5f Add supported endpoint types 2024-02-08 16:27:41 +01:00
Koen Vlaswinkel
6fd628b49c Add endpointType in tests 2024-02-08 11:02:09 +01:00
Koen Vlaswinkel
c9be2ce32c Add endpoint type to method definition
This adds an `endpointType` property to method definitions since we
already have different endpoints (for example methods and modules in
Ruby) and it would be useful to make a distinction between these (it's
not possible to model a module as a source/sink/summary, but it should
be possible to model as a type).
2024-02-07 16:49:40 +01:00
Koen Vlaswinkel
c6e7bcd8fa Merge branch 'main' into koesie10/access-paths-query-bqrs 2024-02-06 16:21:11 +01:00
Koen Vlaswinkel
11e0f49135 Parse new access paths query BQRS output 2024-02-06 15:09:46 +01:00
Koen Vlaswinkel
c5db597676 Add tests for SARIF diff 2024-02-06 13:48:37 +01:00
Charis Kyriakou
bc4d74246a Stop allowing running MRVA with query outside of workspace (#3302) 2024-02-05 11:17:11 +00:00
Robert
e582e63685 Merge pull request #3299 from github/robertbrignull/releases_tests
Use slightly more realistic tests data for ReleasesApiConsumer
2024-02-01 13:00:28 +00:00
Shati Patel
c6c27f4ca3 Add access path suggestions to MaD model for Ruby (#3303) 2024-01-31 16:15:41 +00:00
Koen Vlaswinkel
b7ee9f9dd4 Merge pull request #3297 from github/koesie10/more-consistency-information
Add more information for consistency check errors
2024-01-31 16:26:45 +01:00
Charis Kyriakou
74c101bb51 Improve handling of unknown QL pack roots for multi-query MRVAs (#3289) 2024-01-31 13:53:07 +00:00
Koen Vlaswinkel
08dfd1a211 Add more information for consistency check errors 2024-01-31 13:59:32 +01:00
Robert
9401c34509 Convert "gets correct assets for a release" to use the same example response as the other tests 2024-01-31 11:58:35 +00:00