Граф коммитов

7569 Коммитов

Автор SHA1 Сообщение Дата
Robert dbd5d0f406 Remove unused arguments from resolveWebviewView 2024-03-11 11:02:37 +00:00
Robert b436fbd73b
Merge pull request #3453 from github/robertbrignull/convertGithubNwoToDatabaseUrl
Move convertGithubNwoToDatabaseUrl to databases/github-databases/api.ts
2024-03-11 10:58:15 +00:00
Robert 5402cab05a
Merge pull request #3452 from github/robertbrignull/findDirWithFile
Move findDirWithFile to files.ts
2024-03-11 10:57:36 +00:00
Koen Vlaswinkel e8efbbb9fd Introduce `createFilenameFromString` function 2024-03-11 11:31:43 +01:00
Koen Vlaswinkel 82741e95c3 Add test for extension-managed db location 2024-03-11 11:15:15 +01:00
Koen Vlaswinkel 35267bb3fd Use suite file instead of manually filtering queries 2024-03-08 16:12:56 +01:00
Koen Vlaswinkel 2c35a97b09 Make database storage paths more unique 2024-03-08 14:56:06 +01:00
Koen Vlaswinkel f426178b96 Fix incomplete removal of databases 2024-03-08 13:45:59 +01:00
Shati Patel dbd5078424
Fix warning in package.json about "editor.wordBasedSuggestions" (#3451) 2024-03-07 16:48:29 +00:00
Robert 66879ef626 Move convertGithubNwoToDatabaseUrl to databases/github-databases/api.ts 2024-03-07 16:36:29 +00:00
Robert fe6dc8a7a3 Move findDirWithFile to files.ts 2024-03-07 16:31:01 +00:00
Robert 8b2355acc3
Merge pull request #3447 from github/dependabot/npm_and_yarn/extensions/ql-vscode/vscode/vsce-2.24.0
Bump @vscode/vsce from 2.22.0 to 2.24.0 in /extensions/ql-vscode
2024-03-07 14:12:01 +00:00
dependabot[bot] be06026832
Bump @vscode/vsce from 2.22.0 to 2.24.0 in /extensions/ql-vscode
Bumps [@vscode/vsce](https://github.com/Microsoft/vsce) from 2.22.0 to 2.24.0.
- [Release notes](https://github.com/Microsoft/vsce/releases)
- [Commits](https://github.com/Microsoft/vsce/compare/v2.22.0...v2.24.0)

---
updated-dependencies:
- dependency-name: "@vscode/vsce"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 13:58:43 +00:00
Robert d7ef716d63
Merge pull request #3446 from github/dependabot/npm_and_yarn/extensions/ql-vscode/vscode/test-electron-2.3.9
Bump @vscode/test-electron from 2.3.8 to 2.3.9 in /extensions/ql-vscode
2024-03-07 13:57:22 +00:00
Robert cd9a0287fb
Merge pull request #3448 from github/dependabot/npm_and_yarn/extensions/ql-vscode/nanoid-5.0.6
Bump nanoid from 5.0.4 to 5.0.6 in /extensions/ql-vscode
2024-03-07 13:56:03 +00:00
Robert 4187fd6e91
Merge pull request #3445 from github/dependabot/npm_and_yarn/extensions/ql-vscode/tar-stream-3.1.7
Bump tar-stream from 3.1.6 to 3.1.7 in /extensions/ql-vscode
2024-03-07 13:55:38 +00:00
dependabot[bot] 651a9a627e
Bump nanoid from 5.0.4 to 5.0.6 in /extensions/ql-vscode
Bumps [nanoid](https://github.com/ai/nanoid) from 5.0.4 to 5.0.6.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/5.0.4...5.0.6)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 13:37:01 +00:00
dependabot[bot] cd2fdf9d2e
Bump @vscode/test-electron from 2.3.8 to 2.3.9 in /extensions/ql-vscode
Bumps [@vscode/test-electron](https://github.com/Microsoft/vscode-test) from 2.3.8 to 2.3.9.
- [Changelog](https://github.com/microsoft/vscode-test/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Microsoft/vscode-test/commits/v2.3.9)

---
updated-dependencies:
- dependency-name: "@vscode/test-electron"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 13:36:36 +00:00
dependabot[bot] 7ad9507910
Bump tar-stream from 3.1.6 to 3.1.7 in /extensions/ql-vscode
Bumps [tar-stream](https://github.com/mafintosh/tar-stream) from 3.1.6 to 3.1.7.
- [Commits](https://github.com/mafintosh/tar-stream/compare/v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: tar-stream
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-07 13:36:25 +00:00
Robert 54cf5c55a8 Add tests of MethodModelingViewProvider viewLoaded 2024-03-07 10:10:33 +00:00
Robert 659da6cee1
Merge pull request #3440 from github/robertbrignull/database-download-creds
Push decision to use credentials or not down to where the creds are used
2024-03-06 16:43:19 +00:00
Robert 707cdec1ec
Update CHANGELOG.md 2024-03-06 16:28:37 +00:00
Robert ee5ccecbd3
Merge pull request #3443 from github/robertbrignull/delete_hasStateForActiveDb
Delete hasStateForActiveDb as it is unused
2024-03-06 16:26:33 +00:00
Robert 4a662eabfa
Merge pull request #3442 from github/robertbrignull/cancellationTokenSource
Use CancellationTokenSource instead of casting dummy objects
2024-03-06 16:18:59 +00:00
Robert 0cdcd2ce67 Delete hasStateForActiveDb as it is unused 2024-03-06 14:52:48 +00:00
Robert 2bc261eacf Use CancellationTokenSource instead of casting dummy objects 2024-03-06 12:28:30 +00:00
Robert 83a6b5a054
Merge pull request #3439 from github/robertbrignull/modeling-mode
Refactor events to fix the method modeling panel getting stuck showing "start modeling"
2024-03-06 12:06:22 +00:00
Robert 5d263bb1a3 Push decision to use credentials or not down to where the creds are used 2024-03-05 15:11:00 +00:00
Shati Patel cffecafb61
Add a new "model alerts" webview (for showing results from model evaluation) (#3436) 2024-03-05 14:39:30 +00:00
Rasmus Wriedt Larsen 6f1504aaff
Merge pull request #3438 from github/RasmusWL/fix-quick-eval-counts
Fix `isQuickEvalCount` logic
2024-03-05 13:34:00 +01:00
Robert ce12c67469
Merge pull request #3437 from github/robertbrignull/testplan-table-query
Avoid using a @treemap query in testplan
2024-03-05 12:14:12 +00:00
Robert dc08da924f Inline showMethod 2024-03-05 11:56:37 +00:00
Robert fdd45e8dbd Make revealItem private by listening to onSelectedMethodChanged 2024-03-05 11:56:31 +00:00
Robert 2f49ac83de Remove setMethod which was only called from onSelectedMethodChanged which we already listen to 2024-03-05 11:05:07 +00:00
Rasmus Wriedt Larsen c69cea1f8e
Apply suggestions from code review
Co-authored-by: Robert <robertbrignull@github.com>
2024-03-05 11:51:51 +01:00
Rasmus Wriedt Larsen e6b1d8d616
Fix `isQuickEvalCount` logic
Since `false !== undefined` evaluates to true, we would assign the wrong
value to `isQuickEvalCount` when
`selectedQuery.quickEval?.quickEvalCount` is false
2024-03-05 11:21:43 +01:00
Robert 08c6c8a50c Introduce SetNoMethodSelectedMessage 2024-03-05 09:57:01 +00:00
Robert d4413424c1 Rewrite setInitialState to always set all fields 2024-03-05 09:57:01 +00:00
Robert a82be4258c Pull out setSelectedMethod method 2024-03-05 09:57:01 +00:00
Robert b946f3a509 Pull out setDatabaseItem method 2024-03-05 09:57:00 +00:00
Robert 6402f05624
Avoid using a @treemap query in testplan 2024-03-05 09:42:07 +00:00
Shati Patel ad9f78ca2b
Add link to open "Evaluation Run" from the model editor (#3435) 2024-03-04 17:07:32 +00:00
Robert 54737a0221
Merge pull request #3434 from github/robertbrignull/node-version-workflow
Mention that an automated workflow exists for updating the node version
2024-03-04 16:04:01 +00:00
Robert ff664dd18c
Mention that an automated workflow exists for updating the node version 2024-03-04 11:14:50 +00:00
Andrew Eisenberg 0ed9242b81 Try waiting a few seconds before renaming 2024-03-02 20:43:55 -08:00
Andrew Eisenberg 3497219c68 Use `unzipToDirectoryConcurrently` instead of the unzipper package 2024-03-01 16:16:59 -05:00
Andrew Eisenberg 4450237612 Add changelog note
And fix linting error.
2024-03-01 15:41:26 -05:00
Koen Vlaswinkel b7be98b627
Merge pull request #3414 from github/koesie10/verify-valid-sarif
Add check for id property when running variant analysis
2024-03-01 11:20:42 +01:00
Charis Kyriakou 96b7722f26
Add logic to stop an evaluation run (#3421) 2024-03-01 09:25:03 +00:00
Andrew Eisenberg 361fed622b Ask user if they want to re-import outdated testproj dbs
Before running a query now, do the following:

1. Check if the selected database is imported from a testproj
2. If so, check the last modified time of the `codeql-datase.yml` file
   of the imported database with that of its origin.
3. If the origin database has a file that is newer, assume that the
   database has been recreated since the last time it was imported.
4. If newer, then ask the user if they want to re-import before running
   the query.

Also, this change appends the `(test)` label to all test databases in
the database list.
2024-03-01 10:16:16 +01:00