Commit Graph

4393 Commits

Author SHA1 Message Date
Koen Vlaswinkel
2d68c1c735 Merge pull request #2371 from github/koesie10/switch-to-argument-this
Rename `Argument[-1]` to `Argument[this]`
2023-04-25 14:20:49 +02:00
Koen Vlaswinkel
92b57bf1e2 Rename Argument[-1] to Argument[this]
See: https://github.com/github/codeql/pull/12556
2023-04-25 13:31:52 +02:00
Dave Bartolomeo
be3efd79a8 Merge pull request #2369 from github/dbartol/qltest-error
Only attempt to discover QL tests in on-disk workspace folders
2023-04-24 11:06:15 -04:00
Dave Bartolomeo
f8a269c277 Only attempt to discover QL tests in on-disk workspace folders
This was only a problem for the new test UI, because the third-party Test Explorer extension we used before must have had this filter in its implementation.
2023-04-24 10:46:11 -04:00
Nora
f0ef98539c Merge pull request #2367 from github/nora/move-local-query-files
Move local query files
2023-04-24 13:47:37 +02:00
Nora
a4dd26a13f adjust index.ts, imports and export in quick-eval-code-lens-provider 2023-04-24 09:29:14 +00:00
Nora
aebf9be5d7 move /src/quickEvalCodeLensProvider.ts to /src/local-queries/quick-eval-code-lens-provider 2023-04-24 09:23:51 +00:00
Nora
7d711f3fb3 move src/quick-query to src/local-queries/quick-query 2023-04-24 09:22:18 +00:00
Nora
c708e5f595 Merge pull request #2360 from github/nora/move-language-support
Move language support files
2023-04-24 11:17:57 +02:00
Nora
d455c1aa76 Introduce and use index.ts 2023-04-24 08:25:31 +00:00
Nora
a175cac5f0 Move and rename languageSupport to language-support 2023-04-24 08:25:31 +00:00
Nora
f866545a40 Move query-editor 2023-04-24 08:25:31 +00:00
Nora
01c1888ded Move ide-server 2023-04-24 08:25:31 +00:00
github-actions[bot]
4fafdbc58b Bump CLI version from v2.12.7 to v2.13.0 for integration tests (#2366)
Co-authored-by: github-actions[bot] <github-actions@github.com>
2023-04-21 08:38:34 +00:00
Shati Patel
5fb001632b Don't throw error if user cancels out of choosing a language (#2365)
When running "Create Query", if the user escapes out of the language quickpick we don't need to throw an error. Instead we can just show a `UserCancellationException` notice.
2023-04-21 07:29:09 +00:00
Robert
f0d41f6d3d Merge pull request #2356 from github/robertbrignull/query_history_selection
Remove determineSelection and simplify selection commands for the query history
2023-04-20 16:01:51 +01:00
Robert
42f8916124 Remove test of impossible behaviour 2023-04-20 12:42:22 +01:00
Robert
ed9e9ddadf Delete tests for determineSelection 2023-04-20 12:30:25 +01:00
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
Robert
6363a6a493 Remove the determineSelection method 2023-04-19 12:53:07 +01: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