Andrew Eisenberg
091985a164
Merge pull request #2351 from github/github-action/bump-cli
...
Bump CLI Version to v2.12.7 for integration tests
2023-04-20 02:51:23 -07:00
Shati Patel
0afe982ccf
Merge branch 'main' into github-action/bump-cli
2023-04-20 10:30:07 +01:00
Nora
d4fa420201
Merge pull request #2357 from github/charisk-nora/query-server-move
...
Move Query Server files
2023-04-20 10:21:20 +02:00
Koen Vlaswinkel
fbe782f4ef
Merge pull request #2354 from github/koesie10/clear-pack-cache-on-create
...
Clear pack cache on create and delete
2023-04-20 09:51:46 +02:00
Nora
d9dc061312
Introduce index.ts
2023-04-19 15:05:30 +00:00
Nora
5cfb93980e
Rename legacyRunner to query-runner (kebab-case)
2023-04-19 14:11:05 +00:00
Nora
f97105ba41
Move queryRunner to query-server/queryRunner
2023-04-19 14:11:05 +00:00
Nora
e05defad3b
Rename query-runner to new-query-runner to match class and file
2023-04-19 14:11:05 +00:00
Nora
6d9a87c6e8
Rename legacy/legacyRunner to legacy/legacy-query-runner (kebab-case and class-file name)
2023-04-19 14:11:05 +00:00
Nora
ee66530d0d
Rename queryserver-client to query-sever-client (kebab-case)
2023-04-19 14:11:05 +00:00
Nora
78f1a88924
Rrename legacy/queryserver-client to legacy/query-sever-client (kebab-case)
2023-04-19 14:11:05 +00:00
Nora
222bf024f3
Rename json-rpc-server to server-process to match class and filename
2023-04-19 14:11:05 +00:00
Nora
4ee8e5a00e
Move json-rpc-server.ts
2023-04-19 14:11:05 +00:00
Charis Kyriakou
4097ee0255
Move legacy-query-server/ to query-server/legacy/
2023-04-19 14:11:04 +00:00
Charis Kyriakou
274182718a
Introduce index.ts for local-queries module ( #2355 )
2023-04-19 14:30:47 +01:00
Elena Tanasoiu
30c3ffad01
Merge pull request #2321 from github/elena/yer-a-flag-query
...
Enable skeleton wizard in codespaces-codeql template
2023-04-19 14:11:14 +01:00
Elena Tanasoiu
5f8ec14ad6
Merge branch 'main' into elena/yer-a-flag-query
2023-04-19 13:53:49 +01:00
Koen Vlaswinkel
686a9e4095
Clear pack cache on create and delete
...
We were only clearing the pack cache when a pack file was modified. When
using a script to create a new pack, the pack file is created at once
without a change event firing. This will change the behavior to also
clear the pack cache when a pack file is created or deleted.
2023-04-19 14:36:39 +02:00
Nora
7f3f3380ad
Merge pull request #2350 from github/nora/remove-query-history-title-bar-actions
...
Remove query history title actions
2023-04-19 13:50:19 +02:00
Nora
043adbf797
Merge pull request #2347 from github/nora/break-down-local-queries-1
...
Break down local-queries.ts
2023-04-19 13:49:30 +02:00
Elena Tanasoiu
aa2eceea4c
Merge branch 'main' into elena/yer-a-flag-query
2023-04-19 12:27:52 +01:00
Elena Tanasoiu
724dc45991
Fix typo
2023-04-19 11:25:33 +00:00
Elena Tanasoiu
2f811057b8
Enable skeleton wizard in codespaces template
...
Once we're satisfied with testing this flow (including with a single
rooted workspace) we can enable it in the codespaces-template.
2023-04-19 11:25:08 +00:00
Elena Tanasoiu
5ab24c0eea
Merge pull request #2330 from github/yer-a-sorted-database-query
...
Select latest database when creating skeleton query
2023-04-19 12:22:30 +01:00
Robert
cf78dbba92
Merge pull request #2343 from github/robertbrignull/results_filter
...
Add a component for filtering repositories based on their results
2023-04-19 12:19:37 +01:00
Nora
82c8068b64
Update changelog
2023-04-19 08:59:05 +00:00
Nora
2be0c16f22
Remove unused type
2023-04-19 08:47:30 +00:00
Nora
1d8bcd476a
Remove titel actions
2023-04-19 08:47:30 +00:00
Elena Tanasoiu
02e17516d9
Convert db item methods to be static
...
So that we make it clear we should be passing state as params instead
of reading it off `this`.
2023-04-19 08:39:25 +00:00
Elena Tanasoiu
02dffe08d5
Fetch the latest database from the new sorted list
...
And add tests to check this.
I've had to adapt the existing `findExistingDatabaseItem` method
so receive params so that I'm better able to send it a language
and a list of database items.
2023-04-19 08:39:25 +00:00
Elena Tanasoiu
561e07a689
Sort database items by dateAdded
...
Before selecting an existing database, let's sort them by date.
We're opting to exclude databases with errors during the sorting
process.
2023-04-19 08:39:24 +00:00
Elena Tanasoiu
dce94e8510
Merge pull request #2341 from github/yer-an-input-box-query
...
Prompt non-codespace users for storage path
2023-04-19 09:36:42 +01:00
Koen Vlaswinkel
3f7b8a6409
Merge pull request #2348 from github/koesie10/non-existing-model-file
...
Hide link when model file does not exist
2023-04-19 10:21:21 +02:00
Elena Tanasoiu
7335e37c16
Merge branch 'main' into yer-an-input-box-query
2023-04-19 08:58:52 +01:00
Elena Tanasoiu
154fab845a
Don't mention workspace
2023-04-19 07:56:06 +00:00
github-actions[bot]
7c18934dde
Bump CLI version from v2.12.6 to v2.12.7 for integration tests
2023-04-18 20:36:27 +00:00
Elena Tanasoiu
5e76d0b1ad
Fix typos
...
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com >
2023-04-18 16:30:31 +00:00
Elena Tanasoiu
467c2a550e
Merge pull request #2328 from github/yer-a-single-rooted-workspace-query
...
Ensure we're selecting database in single rooted workspace
2023-04-18 17:25:09 +01:00
Elena Tanasoiu
1106e5959a
Remove canary flag
...
Once we're satisfied with testing this flow (including with a single
rooted workspace) we can remove this flag.
2023-04-18 15:51:53 +00:00
Robert
2844fed863
Merge branch 'main' into robertbrignull/results_filter
2023-04-18 16:41:45 +01:00
Robert
93acb76099
Use punctuation to make test names clearer
2023-04-18 16:38:56 +01:00
Robert
dd630bfca8
Split tests up into describe blocks
2023-04-18 16:38:39 +01:00
Robert
a8a84a6f8c
Add changelog entry
2023-04-18 16:34:34 +01:00
Elena Tanasoiu
db35cb294d
Add new setting to package.json
2023-04-18 15:34:21 +00:00
Elena Tanasoiu
e0bf1ca40f
Rename skeletonWizard setting to createQuery
2023-04-18 15:33:46 +00:00
Elena Tanasoiu
57d48a7b04
Prompt non-codespace users for storage path
...
Offer non-codespace users the option to configure their storage folder for skeleton packs.
Suggested here:
https://github.com/github/vscode-codeql/pull/2310#issuecomment-1507428217
At the moment we're choosing to create our skeleton packs in the first
folder in the workspace.
This is fine for the codespace template because we can control the
folder structure in that repo.
For users outside of this we'd like to offer them the option to choose
where to save their skeleton packs.
2023-04-18 15:33:45 +00:00
Andrew Eisenberg
72a3e8d44a
Merge pull request #2307 from github/aeisenberg/cli-version-telemetry
...
Add the CLI version to telemetry events
2023-04-18 08:27:46 -07:00
Elena Tanasoiu
93a2b06b35
Remove unnecessary assignment to variable
...
This was flagged by CodeQL.
2023-04-18 15:14:54 +00:00
Elena Tanasoiu
30ebe0ab57
Don't use shorthand boolean for large method calls
...
To make it clear what the search is doing and make the code more readable.
Co-authored-by: Robert Brignull <robertbrignull@github.com >
2023-04-18 15:14:54 +00:00
Elena Tanasoiu
28745da7b8
Replace setCurrentDatabaseItem with openDatabase
2023-04-18 15:14:51 +00:00