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

3940 Коммитов

Автор SHA1 Сообщение Дата
Sam Partington 6458690d9f Move common markdownlint config to top-level file 2023-04-05 12:11:49 +01:00
Sam Partington 56b36baa82 Move config file to right place in relation to node_modules
https://github.com/github/vscode-codeql/pull/2268#pullrequestreview-1371042057

Still need to consider how to ensure that the extension picks
up the right config.
2023-04-05 10:26:43 +01:00
Sam Partington b51d731b70 Add missing trailing newline 2023-04-04 16:56:41 +01:00
Sam Partington fa8ad791cf Fix markdown in testing.md 2023-04-04 16:14:27 +01:00
Sam Partington 404ad65f92 Fix markdown in test-plan.md 2023-04-04 16:08:47 +01:00
Sam Partington 7a48cc0dc6 Fix violations in releasing doc 2023-04-04 16:01:42 +01:00
Sam Partington c86dcafd2e Fix generic links 2023-04-04 15:59:57 +01:00
Sam Partington 767f9934e9 Lint the whole codebase, not just the extension folders 2023-04-04 15:58:20 +01:00
Sam Partington ec17cbd8a9 Indent images to show markdownlint they're part of the list 2023-04-04 12:45:19 +01:00
Sam Partington 7ba52de3fe Give link some non-generic text 2023-04-04 12:38:35 +01:00
Sam Partington 5ddd2b385a Disable rule for a couple of specific instances 2023-04-04 12:35:48 +01:00
Sam Partington cc091eec47 Fix list style
We may want to disable this rule, but the change is worthwhile
here for consistency
2023-04-04 12:31:12 +01:00
Sam Partington 888b9b8aa6 Ensure markdownlint can find config when run as script 2023-04-04 12:29:54 +01:00
Sam Partington 1fb4ebe18a Ignore certain linting rules 2023-04-04 12:25:15 +01:00
Sam Partington 03638f5558 Install markdownlint VSCode extension, CLI and github config
cf https://github.com/github/markdownlint-github
2023-04-04 12:24:58 +01:00
Koen Vlaswinkel 35cb1137e8
Merge pull request #2258 from github/koesie10/upgrade-storybook
Upgrade Storybook for TS 5.0 compatibility
2023-04-04 11:30:19 +02:00
Koen Vlaswinkel 78337543df Upgrade Storybook for TS 5.0 compatibility
This upgrades Storybook to an alpha version to ensure we can start
Storybook when using TypeScript 5.0. This is temporary until we can
upgrade to Storybook 7 or to a released version of 6.5.17.
2023-04-03 15:26:19 +02:00
Koen Vlaswinkel 0af341407c
Merge pull request #2168 from github/koesie10/react-strict-mode
Enable React strict mode
2023-04-03 11:13:04 +02:00
Koen Vlaswinkel de521e8e48
Merge pull request #2252 from github/dependabot/npm_and_yarn/extensions/ql-vscode/typescript-5.0.2
Bump typescript from 4.6.4 to 5.0.2 in /extensions/ql-vscode
2023-04-03 11:08:39 +02:00
Koen Vlaswinkel 0015a59971
Merge pull request #2254 from github/dependabot/npm_and_yarn/extensions/ql-vscode/ts-loader-9.4.2
Bump ts-loader from 8.1.0 to 9.4.2 in /extensions/ql-vscode
2023-04-03 11:06:28 +02:00
Koen Vlaswinkel fce8f87c10 Update types for updated TypeScript 2023-04-03 10:54:58 +02:00
Koen Vlaswinkel 2eb420b656
Merge branch 'main' into koesie10/react-strict-mode 2023-04-03 10:47:29 +02:00
Koen Vlaswinkel 980e27a6ca
Merge pull request #2167 from github/koesie10/react-18
Upgrade to React 18
2023-04-03 10:47:20 +02:00
Koen Vlaswinkel e997dab8cf
Merge branch 'main' into koesie10/react-18 2023-04-03 10:14:38 +02:00
Koen Vlaswinkel 64503770e0
Merge pull request #2255 from github/koesie10/results-view-regression-unit-test
Add simple regression unit test for the results view
2023-04-03 10:14:26 +02:00
Dave Bartolomeo 4bba53d5ad
Merge pull request #2246 from github/dbartol/debug-extension-packs
Move extension pack resolution into `LocalQueries`
2023-03-31 14:36:35 -04:00
Dave Bartolomeo b67e3b7c35
Merge pull request #2245 from github/dbartol/local-queries-commands
Move `LocalQueries` commands to be member functions
2023-03-31 14:31:44 -04:00
Koen Vlaswinkel cb2b4f432a Reduce nesting in if-statement 2023-03-31 16:13:22 +02:00
Koen Vlaswinkel b4b020800e Use getErrorMessage 2023-03-31 13:52:46 +02:00
Koen Vlaswinkel 918fb75fe3 Better error message and check for results info 2023-03-31 13:52:21 +02:00
Koen Vlaswinkel d5610c1a6f Add simple regression unit test for the results view
This adds a really simple regression unit test for the results view
which checks that the results view can render a SARIF file. This is
in preparation for the upgrade to React 18 to ensure that we don't
break the basic functionality of the results view.
2023-03-31 13:48:10 +02:00
Dave Bartolomeo 6e51d81a9b
Merge branch 'main' into dbartol/local-queries-commands 2023-03-30 10:33:43 -04:00
Dave Bartolomeo 0da5aab1e9
Merge branch 'main' into dbartol/debug-extension-packs 2023-03-30 10:33:16 -04:00
Dave Bartolomeo dd9f6bf185
Merge pull request #2244 from github/dbartol/debug-context
Refactor local query evaluation to prepare for debug adapter
2023-03-30 10:23:11 -04:00
Dave Bartolomeo 110f5f9d07 Merge remote-tracking branch 'origin/main' into dbartol/debug-context 2023-03-30 10:09:08 -04:00
dependabot[bot] 9058814fcf
Bump ts-loader from 8.1.0 to 9.4.2 in /extensions/ql-vscode
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.1.0 to 9.4.2.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.1.0...v9.4.2)

---
updated-dependencies:
- dependency-name: ts-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 14:00:11 +00:00
dependabot[bot] 875f894741
Bump typescript from 4.6.4 to 5.0.2 in /extensions/ql-vscode
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 5.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.4...v5.0.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 13:58:59 +00:00
Dave Bartolomeo c6309a9800 Show warning instead of error when using extension packs with legacy query server 2023-03-30 09:53:33 -04:00
Koen Vlaswinkel 8a4f2837e2
Merge pull request #2249 from github/koesie10/improve-monitor-error-message
Improve monitor error message
2023-03-30 11:40:38 +02:00
Robert 1e004514ea
Merge pull request #2237 from github/robertbrignull/use_app_commands_6
Convert call sites to use typed commands (part 6): createVSCodeCommandManager in tests
2023-03-30 10:30:26 +01:00
Dave Bartolomeo aef836f9b1 Move `LocalQueries` commands to be member functions 2023-03-29 18:20:11 +00:00
Dave Bartolomeo 41e0702d3a
Update extensions/ql-vscode/src/run-queries-shared.ts
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
2023-03-29 14:15:05 -04:00
Koen Vlaswinkel 0bf01274e8
Merge pull request #2248 from github/koesie10/fail-vsce-workflow-on-failure
Fail VSCE workflow on failure
2023-03-29 16:00:22 +02:00
Koen Vlaswinkel 91af71dbb6
Merge pull request #2247 from github/koesie10/use-gh-release-create
Use gh release create instead of deprecated actions
2023-03-29 16:00:07 +02:00
Koen Vlaswinkel b06d935256 Improve monitor error message
This will improve the error message shown when monitoring fails. Instead
of showing "Error while monitoring variant analysis: Not Found", this
will now show "Error while monitoring variant analysis "Empty block
(javascript) [29/3/2023 10:45:10]: Not Found". This should make it
easier for the user to figure out which query history item is
problematic.

We're not using the full query history item label here because that
would require access to the query history item, which we don't yet have
here. Adding it here would add a dependency on the query history, which
seems undesirable.
2023-03-29 14:43:07 +02:00
Koen Vlaswinkel 70aa6df6c4 Fail VSCE workflow on failure
We were ignoring errors coming from `vsce publish` and this was causing
the workflow to succeed even when the publish failed. This will remove
the `||` and let the workflow fail if the publish fails.
2023-03-29 12:56:41 +02:00
Koen Vlaswinkel 58a1e27e64 Use gh release create instead of deprecated actions 2023-03-29 12:09:34 +02:00
Dave Bartolomeo c712b2999c Merge branch 'dbartol/debug-context' of https://github.com/github/vscode-codeql into dbartol/debug-context 2023-03-28 18:52:38 -04:00
Dave Bartolomeo d84baedb52 Use default value for `id` parameter of `createQueryRun()` 2023-03-28 18:51:19 -04:00
Dave Bartolomeo a8cd9c2abb Fix bad param reference 2023-03-28 18:46:27 -04:00