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

6550 Коммитов

Автор SHA1 Сообщение Дата
github-actions[bot] 7970b09134
Bump CLI version from v2.15.2 to v2.15.3 for integration tests (#3083) 2023-11-22 14:59:42 +00:00
Koen Vlaswinkel 0523d2a63d
Merge pull request #3073 from github/koesie10/download-multiple-github-databases
Allow downloading multiple databases from GitHub
2023-11-21 11:42:06 +01:00
Nora 8aae7d30d3
Merge pull request #3078 from github/dependabot/npm_and_yarn/extensions/ql-vscode/adobe/css-tools-4.3.1
Bump @adobe/css-tools from 4.0.1 to 4.3.1 in /extensions/ql-vscode
2023-11-20 16:29:45 +01:00
Koen Vlaswinkel 4f51445609 Merge remote-tracking branch 'origin/main' into koesie10/download-multiple-github-databases 2023-11-20 14:47:18 +01:00
Koen Vlaswinkel 01d24e06f3
Merge pull request #3072 from github/koesie10/download-github-database-authentication
Use credentials for database download in non-canary mode
2023-11-20 14:40:06 +01:00
Koen Vlaswinkel b83ef4ed68 Split up listing of databases to separate function 2023-11-20 14:20:48 +01:00
Koen Vlaswinkel 9dd061b2c8 Rename github-database-prompt to github-database-download 2023-11-20 13:37:05 +01:00
Koen Vlaswinkel feca898c85 Merge remote-tracking branch 'origin/main' into koesie10/download-github-database-authentication 2023-11-20 11:14:13 +01:00
Koen Vlaswinkel 422f0eb7e4
Merge pull request #3071 from github/koesie10/download-github-database
Prompt user for database download on startup
2023-11-20 11:08:32 +01:00
Koen Vlaswinkel 5c03f5b43e Do not split up message 2023-11-20 10:27:18 +01:00
Koen Vlaswinkel 9ca138dc8e Rename function to promptAndDownloadGitHubDatabase 2023-11-20 10:23:16 +01:00
dependabot[bot] 40b1755868
Bump @adobe/css-tools from 4.0.1 to 4.3.1 in /extensions/ql-vscode
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.0.1 to 4.3.1.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 08:40:18 +00:00
Koen Vlaswinkel d0488ddda9 Allow downloading multiple databases from GitHub
This adds the option to download multiple databases from GitHub in the
initial GitHub database download prompt. The databases will be
downloaded concurrently.

Unfortunately it doesn't seem possible to change the "OK" text in the
quick pick to "Download", so I've left it as "OK" for now.
2023-11-17 14:50:59 +01:00
Koen Vlaswinkel 5d42cbc1c8 Also use credentials in non-canary mode
We want users to be able to download databases from private/internal
repositories without using canary mode. This will change the prompt to
ask for credentials in non-canary mode as well.
2023-11-17 14:47:43 +01:00
Koen Vlaswinkel 636f8f1b5f Prompt user for database download on startup 2023-11-17 14:45:35 +01:00
Koen Vlaswinkel c0db180200
Merge pull request #3068 from github/koesie10/find-github-repository
Add finding of GitHub repositories in workspace
2023-11-17 14:37:53 +01:00
github-actions[bot] 383a1215b4
Bump version to v1.10.1 (#3077) 2023-11-16 18:20:26 +00:00
Shati Patel 0994c3e95f
Merge pull request #3076 from github/v1.10.0
v1.10.0
2023-11-16 15:51:25 +00:00
Koen Vlaswinkel fe0c10aa89 Merge remote-tracking branch 'origin/main' into koesie10/find-github-repository 2023-11-16 16:49:35 +01:00
Koen Vlaswinkel 5db1f76c55 Add tests for more Git state scenarios 2023-11-16 16:49:02 +01:00
Koen Vlaswinkel 779faa324c Improve heuristic and comments 2023-11-16 16:42:09 +01:00
Koen Vlaswinkel f23bc81712 Add comment about initialize method 2023-11-16 16:37:25 +01:00
Koen Vlaswinkel 704894471b Fix error when Git extension is disabled 2023-11-16 16:37:25 +01:00
Koen Vlaswinkel a04f70e162 Fix error logging 2023-11-16 16:37:25 +01:00
Koen Vlaswinkel a150643cdf Change log message when repository is not found 2023-11-16 16:37:24 +01:00
shati-patel bb9a808019
v1.10.0 2023-11-16 14:22:20 +00:00
Koen Vlaswinkel 0323325015 Improve comments on findRemote 2023-11-16 13:37:01 +01:00
Shati Patel d3608159b8
Remove feature flags for queries panel + language selector (#3075) 2023-11-16 10:55:24 +00:00
Koen Vlaswinkel ec7640f337
Merge pull request #3074 from github/koesie10/octokit-rest-codeql-databases
Use Octokit REST for listing CodeQL databases
2023-11-16 09:23:46 +01:00
Koen Vlaswinkel f8fa863b93 Use Octokit REST for listing CodeQL databases
This switches the request to the GitHub API for listing CodeQL databases
from a custom request to the Octokit REST API. This allows us to be more
type-safe without introducing our own types.

The update to `@octokit/openapi-types` was necessary to have access to
the `commit_oid` field.
2023-11-15 17:11:24 +01:00
Koen Vlaswinkel 6fc567b5b9
Merge pull request #3066 from github/koesie10/add-database-source
Add origin metadata to database items
2023-11-15 16:12:32 +01:00
Koen Vlaswinkel 7fe707a42d Add database id and created_at to origin 2023-11-15 14:54:00 +01:00
Shati Patel a271f7b36e
Fix minor bugs with queries panel + language selector (#3070) 2023-11-14 13:29:41 +00:00
Shati Patel 144033967d
Rename "allowHttp" setting (#3069) 2023-11-14 11:44:46 +00:00
Charis Kyriakou be2891dfba
Replace ModelEditorViewTracker with modeling store and events (#3065) 2023-11-14 11:38:28 +00:00
Koen Vlaswinkel 0b964f06d8 Merge remote-tracking branch 'origin/main' into koesie10/add-database-source 2023-11-14 10:06:27 +01:00
Koen Vlaswinkel 5df9dfc78a Rename source to origin 2023-11-14 10:04:05 +01:00
Shati Patel 9e914c9ba1
Don't add database source archive folders by default (#3047) 2023-11-13 16:04:53 +00:00
Koen Vlaswinkel 019195b38c Add finding of GitHub repositories in workspace 2023-11-13 17:04:08 +01:00
github-actions[bot] 5770eda466
Bump CLI version from v2.15.1 to v2.15.2 for integration tests (#3067) 2023-11-13 15:16:43 +00:00
Charis Kyriakou 3ac8a816ef
Update provenance when inputs change (#3064) 2023-11-13 14:55:20 +00:00
Robert ab4717c540
Merge pull request #3060 from github/robertbrignull/noUnusedParameters
Enable noUnusedParameters for the view code
2023-11-13 11:24:11 +00:00
Shati Patel 934ed82786
Don't create QL pack if user escapes out of prompt (#3062) 2023-11-13 10:44:21 +00:00
Koen Vlaswinkel bca7ecb782 Add source to database item
This adds a source property to the database item to store the source of
the database, for example GitHub or an internet URL. This will be used
to automatically check for updates to GitHub-downloaded databases in the
future.
2023-11-13 11:13:41 +01:00
Koen Vlaswinkel bc2847a12e
Merge pull request #3057 from github/koesie10/contextual-no-submodule
Make contextual queries work for fresh installs
2023-11-13 09:41:06 +01:00
Charis Kyriakou 28994b7bd8
Merge pull request #3059 from github/charisk/accepted-models
Differentiate between suggestions and accepted models
2023-11-10 10:25:28 +00:00
Charis Kyriakou 6de96b46ec
Take into account that not all modeled methods have provenance 2023-11-10 09:35:37 +00:00
Charis Kyriakou 692dd02652
Add logic to change style for non-accepted suggestions 2023-11-10 09:35:05 +00:00
Charis Kyriakou 271808a635
Pass modeling status down to drop-down components 2023-11-10 09:34:38 +00:00
Koen Vlaswinkel 64a073368f
Merge pull request #3048 from github/koesie10/type-model
Add `type` as modeled method type
2023-11-10 10:21:29 +01:00