shati-patel
890549f9e7
Fix database selection
2021-07-16 09:34:45 +01:00
shati-patel
66825d6a37
Add command for running queries on multiple databases
2021-07-16 09:34:45 +01:00
Andrew Eisenberg
d42982ee4c
Fix dependabot errors
...
Updates the package dependencies to avoid dependabot errors.
I updated the `@types/gulp` to avoid some typings errors that were
introduced by incompatible versions of `@types/undertaker`.
Also, I forced resolution on `"glob-parent": "~6.0.0"` that avoids
a vulnerability on earlier versions.
I did a smoke test of features that use glob, as well as running a few
queries. All looks good.
2021-07-15 20:03:48 -07:00
shati-patel
7df634f050
Bump version to v1.5.3
2021-07-13 18:50:52 +01:00
shati-patel
46606aa7b5
v1.5.2
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
v1.5.2
2021-07-13 18:27:28 +01:00
shati-patel
de5704974d
Use new endpoint for running remote queries
2021-07-13 18:09:21 +01:00
shati-patel
977b061048
Fix error from "Open Query Results" button
2021-07-13 09:04:00 +01:00
Chuan-kai Lin
560f694f73
Calculate databasesUnderTest with a loop
...
Currently QLTestAdapter.run() calculates the databases affected by a set of
tests (those databases will be deleted and then reopened after test completion)
using a nested filter-find expression. Which does not work because the
predicate is an async function, so the expression is testing the truthiness of
a Promise instead of the async result.
This commit fixes the problem by implementing the same check with a loop so
that we can invoke the async predicate using await.
2021-07-12 16:00:46 -07:00
shati-patel
7a58d360fd
Update changelog
2021-07-12 09:36:10 +01:00
shati-patel
9601d6c140
Render command description as markdown
2021-07-12 09:36:10 +01:00
Edoardo Pirovano
db66184c35
Run tests with nightly CLI
2021-07-02 17:21:03 +01:00
Shati Patel
93e7daea49
Update CLI integration tests with latest version of CLI
...
CodeQL CLI v2.5.7 is now released 🎉
2021-07-02 15:34:54 +01:00
shati-patel
1a18c6d056
Update changelog
2021-06-25 16:14:12 -07:00
shati-patel
7eb12e0004
Loop through DBs individually, instead of adding multiple DBs in parallel
2021-06-25 16:14:12 -07:00
shati-patel
d3192b7e3b
New command to add database source folder to workspace
2021-06-25 16:14:12 -07:00
Shati Patel
e7ab2969d7
Update CLI integration tests with latest version of CLI ( #889 )
...
CodeQL CLI v2.5.6 was released yesterday 🎉
2021-06-23 12:06:31 -07:00
Shati Patel
49a35343f6
Run PR checks on "ready_for_review"
2021-06-23 19:53:21 +01:00
shati-patel
c361671e36
Bump version to v1.5.2
2021-06-23 19:28:31 +01:00
shati-patel
b71452b87c
v1.5.1
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
v1.5.1
2021-06-23 16:11:05 +01:00
Shati Patel
06170f9713
Changes from dev branch ( #882 )
...
Two new "canary" commands:
* GitHub authentication (from #874 )
* Workflow dispatch (run remote query)
2021-06-23 09:14:42 +01:00
Andrew Eisenberg
920515c071
Add CODEOWNERS
2021-06-17 10:01:31 -07:00
Shati Patel
6a124685bd
Don't run on pull requests
...
I don't think we ever need to run on PRs 🤔
2021-06-15 18:19:32 +01:00
shati-patel
75f76ecd23
Create version bump PRs in draft mode
...
Currently, the token we use to create these PRs doesn't have sufficient permissions to set off PR checks. Maybe if we create the PR as a draft and have a real person mark the PR as "ready-for-review", this will be enough to start PR checks.
2021-06-15 18:19:32 +01:00
shati-patel
5a0b1b290f
Bump version to v1.5.1
2021-06-14 20:23:08 +01:00
shati-patel
472008888c
v1.5.0
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
v1.5.0
2021-06-14 20:00:34 +01:00
shati-patel
aa0d844dc1
Add more context in changelog
2021-06-14 18:42:42 +01:00
shati-patel
2523f81640
Update changelog
2021-06-14 18:42:42 +01:00
shati-patel
9e8b1ffd50
Update to VS Code 1.57.0
...
This version of VS Code has workspace trust enabled by default
2021-06-14 18:42:42 +01:00
shati-patel
06b22511a7
Update to VS Code 1.48.0
...
partial cherry-pick from `qc-development` branch
2021-06-14 18:42:42 +01:00
shati-patel
61373209ff
Use the workspace trust feature
2021-06-14 18:42:42 +01:00
Andrew Eisenberg
b1e28f6b7d
Fix running integration tests
...
The main fix is in `telemetry.ts:213`.
2021-06-11 14:08:25 -07:00
Andrew Eisenberg
1d414bac55
Update linting rules
...
Add the `@typescript-eslint/no-floating-promises` rule with an allowance
for floating promises if `void` is used.
This increases safety and ensures that we are explicit when we avoid
awaiting a promise. I already caught a few bugish locations.
In general, we don't need to await the results of logging calls.
databases-ui, we were using a deprecated method for removing a
directory. `fs.rmdir` instead of `fs.remove`.
2021-06-11 14:08:25 -07:00
shati-patel
2f3be92a71
Make functions async + other review comments
2021-05-21 21:41:40 +01:00
shati-patel
a8fd6cc0ee
Add changelog note
2021-05-21 21:41:40 +01:00
shati-patel
e591236c4e
Update tests
2021-05-21 21:41:40 +01:00
shati-patel
41f4e04379
Create custom log directory, if possible
...
(I haven't got the error handling to work asynchronously, so I stuck with `mkdirSync` for now)
2021-05-21 21:41:40 +01:00
shati-patel
7e27f20e0e
Specify custom directory for storing query server logs
2021-05-21 21:41:40 +01:00
Eric Kim
f550cbe98f
Increase font size and add margins to empty query message
2021-05-21 12:35:29 -07:00
Eric Kim
5315c16338
Adjust empty query message
2021-05-21 12:35:29 -07:00
Chuan-kai Lin
540cb99de4
Reregister testproj databases around test runs
...
To deal with the problem of CodeQL tests modifying open testproj databases,
this commit removes open databases from the extension prior to running tests,
and tries to open those databases again after tests finish running.
2021-05-20 16:00:45 -07:00
Eric Kim
3abc8df8fc
Update ChangeLog
2021-05-17 19:01:03 -07:00
Eric Kim
ca93f0e84b
Add link to language guides for empty query results
2021-05-17 19:01:03 -07:00
Andrew Eisenberg
d9ff5bdca4
Update cli integration tests with new cli version
2021-05-17 12:39:25 -07:00
Andrew Eisenberg
c4b12250ba
Update ChangeLog
2021-05-14 08:00:25 -07:00
Andrew Eisenberg
d73f00196b
Add version info while downloading
2021-05-14 08:00:25 -07:00
Andrew Eisenberg
6bf616ff4d
Fix code scanning errors and dependabot issues
...
* Log injection errors
* Also, ran `npm audit fix`
2021-05-10 09:39:55 -07:00
Andrew Eisenberg
ff02d1da05
Add extra emphasis in contributing docs
2021-05-06 14:54:48 -07:00
shati-patel
72d57eec6e
Bump version to v1.4.9
2021-05-05 10:04:39 -07:00
shati-patel
692e1235e8
v1.4.8
Release / Release (push) Has been cancelled
Release / Publish to VS Code Marketplace (push) Has been cancelled
Release / Publish to Open VSX Registry (push) Has been cancelled
v1.4.8
2021-05-05 17:41:02 +01:00
Andrew Eisenberg
b69bbf5c5d
Update integration test cli versions
2021-04-30 10:11:03 -07:00