Andrew Eisenberg
663b26328b
v1.7.6
2022-11-21 09:01:47 -08:00
Andrew Eisenberg
e93d8393ca
Merge pull request #1774 from github/aeisenberg/fix-mrva-packs
...
Allow synthetic variant analysis packs to handle `${workspace}`
2022-11-18 15:00:05 -08:00
Andrew Eisenberg
24bbd5153c
Allow synthetic variant analysis packs to handle ${workspace}
...
`${workspace}` references are new in CLI version 2.11.3. These mean that
the version depended upon in a pack must be the version available in the
current codeql workspace.
When generating a variant analysis pack, however, we copy the target
query and generate a synthetic pack with the original dependencies.
This breaks workspace references since the synthetic pack is no longer
in the same workspace.
A simple workaround is to replace `${workspace}` with `*` references.
2022-11-18 14:47:07 -08:00
Andrew Eisenberg
4eb465277a
Update gitignore to avoid codeql metadata files
...
Also, we're no longer using the rush package manager, so delete that
from gitignore.
2022-11-18 11:33:53 -08:00
Koen Vlaswinkel
3e7e4b86bd
Merge pull request #1525 from github/koesie10/prettier
...
Add Prettier
2022-11-17 09:58:47 +01:00
Koen Vlaswinkel
f515663640
Add .git-blame-ignore-revs file for previous commit
...
See https://www.stefanjudis.com/today-i-learned/how-to-exclude-commits-from-git-blame/
2022-11-16 19:07:01 +01:00
Koen Vlaswinkel
ebcdf8ad0b
Run Prettier on all files
...
This will change all existing files to match Prettier formatting.
The command used is `npm run format`.
2022-11-16 19:06:13 +01:00
Koen Vlaswinkel
f41ca1a330
Add Prettier
...
This adds Prettier and makes it replace tsfmt. VSCode is set to use
Prettier for formatting TypeScript/TSX files and format on save since
Prettier is very fast and does not cause any noticeable delay.
2022-11-16 19:04:17 +01:00
Koen Vlaswinkel
6219b43051
Merge pull request #1766 from github/koesie10/export-results-sorting-filtering
...
Add filtering and sorting to exported results
2022-11-16 19:01:36 +01:00
Koen Vlaswinkel
47297800ab
Merge remote-tracking branch 'origin/main' into koesie10/export-results-sorting-filtering
2022-11-16 18:44:36 +01:00
Koen Vlaswinkel
5838f1b6a3
Merge pull request #1765 from github/koesie10/selected-copy
...
Use selected repositories for copying repo lists
2022-11-16 18:41:46 +01:00
Koen Vlaswinkel
bbaa27a1f0
Split filter and sort methods and simplify type checks
2022-11-16 16:32:17 +01:00
dependabot[bot]
d7fd84c8e1
Bump loader-utils from 1.4.1 to 1.4.2 in /extensions/ql-vscode ( #1772 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 15:03:23 +00:00
Koen Vlaswinkel
6aaa7d63a7
Simplify type checks for repositoryIds
2022-11-16 13:02:55 +01:00
Robert
ed0868ba26
Merge pull request #1768 from github/robertbrignull/openVariantAnalysis
...
Remove the openVariantAnalysis command
2022-11-16 11:04:02 +00:00
Shati Patel
b2a3703d3a
Render nodes for local database items ( #1759 )
2022-11-16 11:03:49 +00:00
Nora
539dd1f0f3
Merge pull request #1771 from github/nora/move-db-panel-files
...
New DB Panel: Move config files to config folder
2022-11-16 10:55:30 +01:00
Koen Vlaswinkel
2a30c669e1
Merge pull request #1760 from github/koesie10/filter-export-copy
...
Add filtering and sorting to exported repo list
2022-11-16 10:31:52 +01:00
Nora
bd6c3add1b
Move files to config folder
2022-11-16 10:22:54 +01:00
Charis Kyriakou
435fc0a327
Fix rootDir used in test tsconfig ( #1770 )
2022-11-16 09:01:55 +00:00
Koen Vlaswinkel
53c1a585c1
Simplify filtering of repositories
...
Co-authored-by: Elena Tanasoiu <elenatanasoiu@github.com >
2022-11-16 09:53:37 +01:00
Andrew Eisenberg
ede534cf5f
Merge pull request #1744 from github/aeisenberg/new-query-server
...
Enable the new query server by default
2022-11-15 13:24:01 -08:00
Andrew Eisenberg
9a7489f6cd
Merge pull request #1674 from github/aeisenberg/assert-version
...
Assert VSCode version is high enough
2022-11-15 10:51:42 -08:00
Robert
2f5f09550d
Remove openVariantAnalysis command
2022-11-15 16:49:49 +00:00
Koen Vlaswinkel
1793963f06
Merge branch 'koesie10/selected-copy' into koesie10/export-results-sorting-filtering
2022-11-15 16:14:45 +01:00
Koen Vlaswinkel
e0230375e3
Merge branch 'koesie10/filter-export-copy' into koesie10/selected-copy
2022-11-15 16:13:29 +01:00
Koen Vlaswinkel
b8a0ed4ec3
Merge remote-tracking branch 'origin/main' into koesie10/filter-export-copy
2022-11-15 16:12:13 +01:00
Nora
846eda5428
Merge pull request #1761 from github/nora/add-selected-state-to-db-config
...
Add selected to config
2022-11-15 16:09:06 +01:00
Koen Vlaswinkel
796611d3bc
Merge pull request #1758 from github/koesie10/export-results-from-view
...
Add exporting of results to view
2022-11-15 16:02:23 +01:00
Koen Vlaswinkel
c88b32091b
Merge pull request #1750 from github/koesie10/export-results
...
Add exporting of results from the context menu
2022-11-15 16:01:50 +01:00
Nora
a012d80341
Merge comments
2022-11-15 15:48:28 +01:00
Charis Kyriakou
542a78e4ef
Stop showing warnings for unhandled requests by the mock API server ( #1767 )
2022-11-15 14:45:21 +00:00
Nora
cf7e33363a
Resolve conflicts
2022-11-15 14:19:51 +01:00
Nora
0505d5a0ab
Merge comments
2022-11-15 14:19:51 +01:00
Nora
27f62bc1ff
Add selected to config
2022-11-15 14:19:51 +01:00
Koen Vlaswinkel
5ed4981673
Add tests for handleCopyRepoList and handleExportResults
2022-11-15 14:13:35 +01:00
Koen Vlaswinkel
e9681bc546
Restore private visibility of loadResultsFromStorage
2022-11-15 13:20:44 +01:00
Koen Vlaswinkel
7486431bea
Use options instead of separate method for skipping cache store
...
This adds a new options argument to the `loadResults` method which
allows the caller to specify that the results should not be saved to the
cache. This exposes a smaller API surface and makes it harder to misuse
the methods.
2022-11-15 13:16:59 +01:00
Koen Vlaswinkel
95e073b9a4
Use separate directory for variant analysis exports
...
Each variant analysis export can be different due to different filters,
so there are two options:
- We need to clean up the directory before each export to ensure no old
files are left
- We need to use a separate directory for each export
This implements the second option, which is more flexible and allows the
user to retain different result exports.
2022-11-15 13:05:37 +01:00
Koen Vlaswinkel
f94837ebca
Add filtering and sorting to exported results
...
This adds filtering (based on search and selected repositories) and
sorting to exporting results. This is done in the same way as for
copying the repository list, so the changes are fairly minimal.
2022-11-15 12:06:06 +01:00
Koen Vlaswinkel
dd1ced9ba3
Merge branch 'koesie10/selected-copy' into koesie10/export-results-sorting-filtering
2022-11-15 12:02:21 +01:00
Charis Kyriakou
f1b24987eb
Re-render db panel on config update ( #1763 )
2022-11-15 10:36:38 +00:00
Koen Vlaswinkel
4ed409d91a
Use selected repositories for copying repo lists
...
This will use the selected repositories to limit which repositories are
included in the copied repo list. If there are both selected
repositories and a search filter (on the full name), the search filter
will be ignored and the selected repositories will be used in full.
2022-11-15 11:23:01 +01:00
Charis Kyriakou
39ae3cd7f4
Add mode and subscriptions to App container ( #1762 )
2022-11-15 10:03:10 +00:00
Koen Vlaswinkel
73ff057df0
Merge remote-tracking branch 'origin/main' into koesie10/filter-export-copy
2022-11-15 10:53:58 +01:00
Andrew Eisenberg
2dd482a8a4
Enable the new query server by default
2022-11-14 17:36:31 -08:00
Andrew Eisenberg
93cc4082dc
Merge branch 'main' into aeisenberg/assert-version
2022-11-14 17:35:25 -08:00
Charis Kyriakou
345125994a
Revert "Rename iconPath to icon" ( #1764 )
...
* Revert "Rename iconPath to icon (#1742 )"
This reverts commit 93b6abeeb4 .
* Add comment to explain things
2022-11-14 16:38:59 +00:00
Koen Vlaswinkel
9b0fe4ddc7
Merge pull request #1755 from github/koesie10/checkbox-state
...
Keep track of checkbox state in view
2022-11-14 17:18:30 +01:00
Charis Kyriakou
fca2faf021
Add extension and storage paths to App container ( #1756 )
2022-11-14 15:47:58 +00:00