Jason Reed
e345425051
Fix wrong number of pages shown on initial display.
2020-07-02 10:27:15 -04:00
Jason Reed
0b32961f6d
Unbreak typing page number into field
2020-07-02 09:39:47 -04:00
Jason Reed
e0a58a86fc
Inline now-trivial function paginationEnabled
2020-07-01 09:20:31 -04:00
Jason Reed
ec45db3bc3
Appease linter.
2020-06-30 11:13:10 -04:00
Jason Reed
94d230308c
Allow switching to alerts table
2020-06-30 10:17:46 -04:00
Jason Reed
96688e3379
Fix listing of tables when in alerts view
2020-06-30 10:14:14 -04:00
Jason Reed
88c27618b1
Show number of results correctly
2020-06-30 09:54:13 -04:00
Jason Reed
11c538a99d
Teach webview to do pagination in interpreted results
2020-06-30 09:39:04 -04:00
Jason Reed
0e3b7a8eb5
Also show pagination interface for interpreted results
2020-06-29 12:52:19 -04:00
Jason Reed
65aa6928e4
Show number of pages in pagination interface
2020-06-29 12:38:48 -04:00
Jason Reed
fe02a58e45
Teach extension to accept ShowInterpretedPageMsg
2020-06-29 12:36:09 -04:00
Jason Reed
4030ddbdc2
Teach extension how to request display of alerts page
2020-06-29 11:57:44 -04:00
Jason Reed
b3642bd62e
Compute truncation functionally rather than imperative update
2020-06-29 11:44:17 -04:00
Jason Reed
addddb0095
Factor out truncation of results from interpretation itself
2020-06-29 11:10:32 -04:00
Jason Reed
d7732c4ed6
Add interpreted results page size
2020-06-29 11:02:30 -04:00
Andrew Eisenberg
6e34c03b05
Update changelog
2020-06-26 11:40:40 -07:00
Andrew Eisenberg
75518a5d01
Ensure source folders are zipped
...
Zips source folders of databases when they are added. Only if
the databases are fully controlled by VS Code.
Fixes #479
2020-06-26 11:40:40 -07:00
Andrew Eisenberg
4beead54be
Fix file extension of generated query suite
...
See https://github.com/github/codeql-coreql-team/issues/452
2020-06-26 11:40:40 -07:00
Andrew Eisenberg
7379f4996a
Add the zip-a-folder package
2020-06-26 11:40:40 -07:00
Andrew Eisenberg
c40b8fe1a5
Remove unused code path
...
`resolveRawDataset` can not be called.
2020-06-26 07:56:59 -07:00
Andrew Eisenberg
210bbcd2e9
Avoid using a synchronous file system command
...
Add the tmp-promise package to allow for async tmp file
operations.
2020-06-25 13:25:10 -07:00
jcreedcmu
461892759b
Merge pull request #474 from shati-patel/edits
...
Small editorials tweaks
2020-06-24 07:41:57 -04:00
Shati Patel
6277e5cecb
Small editorials tweaks
2020-06-24 11:33:48 +01:00
Andrew Eisenberg
42ebc3fbe6
Update changelog
2020-06-23 13:27:20 -07:00
Andrew Eisenberg
77b13bd8e3
Ensure query compare order matches expectation
...
A user typically expects that the first selection would be
the query that they are comparing _from_ and the second query
is being compared _to_.
This commit ensures that something like this expectation will
always hold.
So, when there are two queries selected, the first one selected
will always be _from_ and appear on the left side of the compare
view. The one selected later will be _to_ and appear on the right.
There is a corner case when there are 3 or more selected queries
and a user *unselects* a query. We do not track the selection
order of the remaining two queries.
2020-06-23 13:27:20 -07:00
Andrew Eisenberg
f4e983e214
Change command name
2020-06-23 09:58:07 -07:00
Andrew Eisenberg
60620a5618
Update changelog
2020-06-23 08:14:05 -07:00
Andrew Eisenberg
25bac72ac5
Use Open instead of Extract to open zip files
...
This allows opening zip files whose local headers are not correct.
2020-06-23 08:14:05 -07:00
github-actions[bot]
e7ee1f86a8
Bump version to v1.3.1
2020-06-22 16:07:21 -07:00
jcreedcmu
1f3decc83a
Merge pull request #466 from jcreedcmu/jcreed/1.3.0
...
Code Scanning - CodeQL / codeql (push) Has been cancelled
Build Extension / Build (ubuntu-latest) (push) Has been cancelled
Build Extension / Build (windows-latest) (push) Has been cancelled
Build Extension / Test (ubuntu-latest) (push) Has been cancelled
Build Extension / Test (windows-latest) (push) Has been cancelled
Release / Release (push) Has been cancelled
Bump version and CHANGELOG for release
v1.3.0
2020-06-22 14:23:51 -04:00
Jason Reed
c2ebaa2422
Bump version and CHANGELOG for release
2020-06-22 14:20:09 -04:00
Andrew Eisenberg
6f46bcc459
Add better error message when comparing queries
...
Also, fix type error.
2020-06-22 11:19:39 -07:00
Andrew Eisenberg
6ae6e91195
Add maximum number of queries to run
...
Throw error if user tries to run more than that.
2020-06-22 09:08:12 -07:00
Andrew Eisenberg
fabef96f08
Update changelog
2020-06-22 09:08:12 -07:00
Andrew Eisenberg
3a23f05a0a
Add command to run multiple queries at once from file explorer
...
New command called `codeQL.runQueries`.
When invoked, gather all selected files and folders, and recursively
search for ql files to run. Warn the user if a directory is selected.
See comment inline for reason.
2020-06-22 09:08:12 -07:00
Andrew Eisenberg
52c6ee4477
Update vscode settings
...
Recommend formatting and linting extension. Also, use 100 columns
for formatting.
2020-06-22 09:08:12 -07:00
Andrew Eisenberg
727d0db387
Update changelog
2020-06-18 09:55:43 -07:00
Andrew Eisenberg
86f10fa41f
Add multi-select support for db view
...
These commands now work on multiple databases:
* remove databases
* open external folder
* upgrade databases
2020-06-18 09:55:43 -07:00
Andrew Eisenberg
3d44b987d7
Update changelog
2020-06-17 10:54:08 -07:00
Andrew Eisenberg
bd6a6ff40d
Add Multi-select support to query history view
...
This is not quite ideal due to
https://github.com/microsoft/vscode/issues/99767
Allow multiselection in the query-history view. For commands
that shouldn't accept multiple options, show a user message
to that effect.
For remove query, allow multiple removals at once.
For compare query, allow selecting of exactly two queries.
Otherwise, throw an error. Also, verify that the selected queries
are compatible to compare.
2020-06-17 10:54:08 -07:00
jcreedcmu
dd44bf74e3
Merge pull request #452 from jcreedcmu/jcreed/master-to-main
...
Change references to master branch to main branch
2020-06-17 08:37:16 -04:00
Andrew Eisenberg
95988f0960
Update changelog
2020-06-16 12:08:33 -07:00
Andrew Eisenberg
ab41be243b
Vertically align the two compare tables
...
Avoids an issue when one table has many more rows than the other and
the tables are off-centered.
2020-06-16 12:08:33 -07:00
Andrew Eisenberg
75fe8fb040
Display error message when can't compare queries
...
* The error message will be displayed instead of the empty results
tables.
* Also, uncomment onEnterRules. That should never have been committed.
* Also, extract CompareTable to its own component.
2020-06-16 12:08:33 -07:00
Andrew Eisenberg
15d65b308c
Re-apply formatting to all files
2020-06-16 12:08:33 -07:00
Andrew Eisenberg
9be355aa9d
Add link to open query results from compare view
2020-06-16 12:08:33 -07:00
Andrew Eisenberg
b803a80d39
Add unit tests for interface-utils.ts
...
Also, some moving around of functions and whitespace changes.
2020-06-16 12:08:33 -07:00
Andrew Eisenberg
fceea64a08
More work on diffs
2020-06-16 12:08:33 -07:00
Andrew Eisenberg
e9fbd6d430
Add the compare-interface
...
This module will behave like the interface.ts module and handle
interactions between the compare webview and the extension.
2020-06-16 12:08:33 -07:00
Andrew Eisenberg
2ab4c1ac14
Extract shared components out of interface.ts
...
This is in preparation for creating a new webview, extract shared
functionality to the webview-utils file
2020-06-16 12:08:33 -07:00