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

592 Коммитов

Автор SHA1 Сообщение Дата
github-actions[bot] bc8d07bc33 Bump version to v1.8.1 2023-03-09 14:22:57 +00:00
Charis Kyriakou d22be729be v1.8.0 2023-03-08 13:22:40 +00:00
Charis Kyriakou 9a308f6602 Update CHANGELOG to include MRVA 2023-03-07 16:41:04 +00:00
Robert 9386817727 Report unhandled errors from our extension 2023-03-02 17:19:40 +00:00
github-actions[bot] dd19ebdfdb Bump version to v1.7.12 2023-03-01 19:07:38 +00:00
Andrew Eisenberg fb5675a7c5
Update extensions/ql-vscode/CHANGELOG.md
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
2023-03-01 10:42:26 -08:00
Andrew Eisenberg 82a2db9fec v1.7.11
Release prep and fix markdown linting warnings in test plan.
2023-03-01 18:33:51 +00:00
Charis Kyriakou dd2e79477f
Revert "Move MRVA out of canary " 2023-03-01 17:02:11 +00:00
Charis Kyriakou ff0425d889 Update CHANGELOG to include MRVA 2023-02-28 15:02:37 +00:00
Robert b1ddf89fe3
Update CHANGELOG.md 2023-02-27 15:23:36 +00:00
Robert c37096bf2c Update changelog 2023-02-27 13:12:28 +00:00
github-actions[bot] 3ea3cd8e9b Bump version to v1.7.11 2023-02-23 08:58:41 +00:00
Charis Kyriakou 50b0926390 v1.7.10 2023-02-23 08:38:10 +00:00
github-actions[bot] 624e24579e Bump version to v1.7.10 2023-02-20 12:27:39 +00:00
Charis Kyriakou 3fbfa840ac v1.7.9 2023-02-20 11:58:32 +00:00
github-actions[bot] 09e7a84597
Bump version to v1.7.9 2023-02-03 16:26:19 +00:00
Robert d2c795bec0
Update extensions/ql-vscode/CHANGELOG.md
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
2023-02-02 16:38:03 +00:00
Robert d144874e77 v1.7.8 2023-02-02 16:30:46 +00:00
Koen Vlaswinkel 140d369098 Remove unsupported version constraints
This removes all CodeQL CLI version constraints for unsupported CLI
versions (< 2.7.6). The oldest supported CLI version is 2.7.6 since GHES
3.3 recommends using CodeQL CLI 2.7.6.
2023-01-23 14:13:05 +01:00
Charis Kyriakou 856e516b20
Renamed Run Query command (#1962) 2023-01-16 15:48:06 +00:00
robertbrignull 060b7c6099 Bump version to v1.7.8 2022-12-13 13:10:27 +00:00
Robert 578ffe0e2f v1.7.7 2022-12-13 11:55:42 +00:00
Shati Patel 795a0bc46d
Minor: make changelog entry more consistent (#1834) 2022-12-05 11:19:08 +00:00
Alexander Eyers-Taylor 2637d6d00c Added changelog entry for updated vscode version. 2022-11-29 17:24:54 +00:00
aeisenberg fbd2cbd3aa Bump version to v1.7.7 2022-11-21 19:39:04 +00:00
Andrew Eisenberg 663b26328b v1.7.6 2022-11-21 09:01:47 -08:00
Andrew Eisenberg 93cc4082dc
Merge branch 'main' into aeisenberg/assert-version 2022-11-14 17:35:25 -08:00
aeisenberg 632a675b13 Bump version to v1.7.6 2022-11-09 02:04:18 +00:00
Andrew Eisenberg 05951b6c74 v1.7.5 2022-11-08 17:24:55 -08:00
Andrew Eisenberg 62ed83b655 Add CHANGELOG entry 2022-11-07 15:23:24 -08:00
aeisenberg 12e2eb2d8b Bump version to v1.7.5 2022-10-29 20:41:07 +00:00
Andrew Eisenberg 606ffe41b0 v1.7.4 2022-10-29 13:17:19 -07:00
github-actions[bot] 75b4934d97
Bump version to v1.7.4 (#1676)
Co-authored-by: angelapwen <angelapwen@users.noreply.github.com>
2022-10-29 00:31:47 +00:00
Angela P Wen 77c28e0453
v1.7.3 (#1675) 2022-10-28 23:11:00 +00:00
Andrew Eisenberg d209e52a0b
Merge branch 'main' into aeisenberg/persist-dbs 2022-10-25 08:54:31 -07:00
Andrew Eisenberg c6d54de748
Update extensions/ql-vscode/CHANGELOG.md
Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com>
2022-10-25 08:42:27 -07:00
Asger F b480f8f375 Fix incorrect merge resolution in changelog 2022-10-24 13:20:42 +02:00
Asger F ead1fb4cd9 Merge branch 'main' into asgerf/navigate-alerts 2022-10-24 13:19:05 +02:00
Asger F ecc07a50be
Update extensions/ql-vscode/CHANGELOG.md
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
2022-10-21 13:54:33 +02:00
Andrew Eisenberg 24e9fbe8ca Update changelog 2022-10-20 16:25:14 -07:00
aeisenberg 3b644fea7b Bump version to v1.7.3 2022-10-17 10:03:25 +01:00
Andrew Eisenberg 6ea36867a2 v1.7.2 2022-10-14 10:44:07 -07:00
Andrew Eisenberg 90577f516f Update changelog 2022-10-14 07:42:11 -07:00
github-actions[bot] e8d230c8f5
Bump version to v1.7.2 (#1592)
Co-authored-by: aeisenberg <aeisenberg@users.noreply.github.com>
2022-10-14 09:36:00 +00:00
Andrew Eisenberg 563489d1e0 Release prep v1.7.1
- Add missing changelog entry
- Update .nvmrc and workflow node versions to align with vscode's
  node version.
2022-10-12 10:56:30 -07:00
Asger F 4871728216 Added change note 2022-10-10 15:36:36 +02:00
Andrew Eisenberg 54ba5ced09 Use better heuristics when chekcking db folders 2022-10-03 14:07:55 -07:00
robertbrignull 434567aa34 Bump version to v1.7.1 2022-09-21 15:22:10 +00:00
Robert c9b68caee4
Merge pull request #1526 from github/v1.7.0
Release PR for v1.7.0
2022-09-21 09:51:37 +01:00
Robert 1a9d63315f v1.7.0 2022-09-20 16:23:47 +01:00
Andrew Eisenberg bfc9a17ffb Update CHANGELOG 2022-09-16 16:19:58 -07:00
Koen Vlaswinkel e95f8e85a8 Merge remote-tracking branch 'origin/main' into koesie10/deprecate-lgtm-download 2022-09-13 10:38:53 +02:00
Alexander Eyers-Taylor 9071f54863
Don't display destructive upgrades any more. (#1501)
* Don't display destructive upgrades any more.

* Add change note

* Update extensions/ql-vscode/CHANGELOG.md

Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
2022-09-08 18:57:12 +00:00
dbartol d88b5170ac Bump version to v1.6.13 2022-09-01 21:06:50 +00:00
Dave Bartolomeo 87f45a7739 v1.16.12 2022-09-01 16:25:04 -04:00
Koen Vlaswinkel 8d5067f622 Update CHANGELOG 2022-08-30 15:09:16 +02:00
dbartol 88c990c6ae Bump version to v1.6.12 2022-08-25 20:46:21 +00:00
Dave Bartolomeo d1d13fbd2e Update changelog for release 2022-08-25 13:11:50 -04:00
Koen Vlaswinkel c5a6e64df8
Revert "Remove canary requirement for GitHub database download" 2022-08-24 11:51:44 +02:00
Koen Vlaswinkel 951d0b1004 Merge remote-tracking branch 'origin/main' into koesie10/deprecate-lgtm-download 2022-08-23 16:27:23 +02:00
Koen Vlaswinkel 2989e4cfb9 Update CHANGELOG 2022-08-23 16:08:23 +02:00
Koen Vlaswinkel c10500c5ea Update CHANGELOG 2022-08-23 14:58:36 +02:00
charisk 561bc6f53c Bump version to v1.6.11 2022-08-09 15:21:26 +00:00
Charis Kyriakou 24b421e82d
v1.6.10 (#1456) 2022-08-09 16:17:57 +01:00
elenatanasoiu d2ebb3d20a Bump version to v1.6.10 2022-07-20 11:57:41 +01:00
Elena Tanasoiu 1d3b0e0ca9
v1.6.9 2022-07-20 10:01:12 +01:00
charisk 5f3d525ff8 Bump version to v1.6.9 2022-06-29 11:56:36 +00:00
Charis Kyriakou 7c941fe8a8 v1.6.8 2022-06-29 12:42:18 +01:00
Henry Mercer e9835cb376 Improve changelog note
Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com>
2022-06-29 12:01:10 +01:00
Henry Mercer 7651a960b1 Add changelog note 2022-06-29 12:01:10 +01:00
Andrew Eisenberg 2debadd3bf Update changelog 2022-06-29 10:25:00 +01:00
Andrew Eisenberg d061634fe3
Merge pull request #1379 from github/aeisenberg/fix-bqrs-decode
Fix quoting of string columns in csv
2022-06-20 08:38:36 -07:00
elenatanasoiu c368424a15 Bump version to v1.6.8 2022-06-15 15:42:36 +01:00
Elena Tanasoiu 4b59045149
v1.6.7 2022-06-15 13:41:11 +00:00
Andrew Eisenberg c10da7f960 Update Changelog 2022-06-03 16:26:02 -07:00
Elena Tanasoiu 1858de5ed0
Update Changelog 2022-06-01 12:07:13 +01:00
Angela P Wen 2f9aca785e
Log most expensive predicates and timings to query log (#1349) 2022-05-20 13:21:33 -07:00
shati-patel 0fdfeb3cd3 Bump version to v1.6.7 2022-05-17 16:37:42 +01:00
shati-patel 096d7719c6 v1.6.6 2022-05-17 16:07:06 +01:00
github-actions[bot] 5ee2f0efe1
Bump version to v1.6.6 (#1315)
Co-authored-by: angelapwen <angelapwen@users.noreply.github.com>
2022-04-25 10:34:34 -07:00
Angela P Wen 1314a36ba4
v1.6.5 (#1314)
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
2022-04-25 09:42:44 -07:00
Andrew Eisenberg 7027a61e63 Update changelog 2022-04-07 14:01:28 -07:00
aeisenberg fc3fe7a81e Bump version to v1.6.5 2022-04-06 22:39:04 +00:00
Andrew Eisenberg 9e40043fe0 v1.6.4 2022-04-06 14:54:56 -07:00
github-actions[bot] f1d16015bf
Bump version to v1.6.4 (#1278)
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
2022-04-04 23:44:55 +00:00
Andrew Eisenberg 76e983d19c v1.6.3
Also adds a step in our release process to manually test the new
extension build.
2022-04-04 12:30:41 -07:00
edoardopirovano 4559c5a38d Bump version to v1.6.3 2022-04-04 15:28:36 +00:00
Edoardo Pirovano 16bd106abc v1.6.2 2022-04-04 08:25:23 -07:00
Angela P Wen cc1bf74370
Print end-of-query summary logs to Query Server Console (#1264)
* Log new end summary file to query server console

* Change supported CLI version to 2.9.0
2022-03-31 16:26:13 +00:00
Andrew Eisenberg 213f4ce92f
Merge branch 'main' into aeisenberg/settings 2022-03-29 13:54:41 -07:00
Andrew Eisenberg 49cceffe1b
Merge pull request #1235 from github/aeisenberg/history-sort
Add query history sorting for remote queries
2022-03-29 11:13:35 -07:00
Andrew Eisenberg 558009543f Update changelog 2022-03-29 11:11:44 -07:00
Edoardo Pirovano 81b8104064 Expose per-query structured evaluator logs 2022-03-29 05:30:31 -04:00
Andrew Eisenberg bb6ebe5750 Handle query directory not existing
Also, fix some changelog notes.
2022-03-28 10:55:02 -07:00
Andrew Eisenberg 71aa3d145f Update changelog 2022-03-25 14:30:01 -07:00
Andrew Eisenberg 421f5d23ec Update changelog 2022-03-24 12:39:11 -07:00
github-actions[bot] 38da598214
Bump version to v1.6.2 (#1221)
Co-authored-by: charisk <charisk@users.noreply.github.com>
2022-03-17 12:47:33 +00:00
Charis Kyriakou 3f2c9b647c
v1.6.1 (#1220) 2022-03-17 12:04:37 +00:00
aeisenberg fa85865fe5 Bump version to v1.6.1 2022-03-07 18:04:29 +00:00
Andrew Eisenberg ae6263a07f v1.6.0
Note that the change to `run-remote-query.ts` is being coordinated
with the rest of the remote-queries team.
2022-03-07 09:46:56 -08:00
Andrew Eisenberg 025a1a1383 Add new command to open the query history directory
Allows users to explore the contents and all artifacts of the query
that was just run.
2022-03-03 07:57:56 -08:00
Andrew Eisenberg 2579d12f24 Save log files to the query history directory
This commit deprecates the the cutsom log directory option by saving
all log files with query history.

There is a simplification of the `OutputChannelLogger` since it no
longer needs to manage deleting log files on exit.

Also, the `codeQL.runningQueries.customLogDirectory` is marked as
deprecated. If this value is being used, a warning message is popped
up after the query completes.
2022-03-02 12:21:15 -08:00
Andrew Eisenberg 4c411acef4
Merge branch 'main' into aeisenberg/open-query-logger 2022-02-22 09:44:41 -08:00
Andrew Eisenberg d25db48452 Open query server logger for query errors
Because errors when running queries tend to have better explanations
in the query server log instead of the extension log, by default open
the query server log for query errors.
2022-02-18 12:55:32 -08:00
Andrew Eisenberg 251f354076 Ensure `--addtional-packs` arg not used for empty workspace 2022-02-18 10:16:42 -08:00
Andrew Eisenberg b53657344c General refactoring and adding comments
There is no new behaviour added in this commit. Just some cleanup:

- Move some shared constants to the `helpers` module
- Add comments to some of the query related modules
- Some general formatting and tidying
2022-02-14 11:39:19 -08:00
Andrew Eisenberg a7e014a87e
Merge branch 'main' into aeisenberg/save-query-history 2022-02-14 11:15:22 -08:00
Andrew Eisenberg 48ccb27e49 Update changelog 2022-02-11 13:54:09 -08:00
Andrew Eisenberg 9c27d01d47 Merge branch 'main' into aeisenberg/save-query-history 2022-02-10 16:03:56 -08:00
aeisenberg 329fb87e12 Bump version to v1.5.12 2022-02-10 12:50:03 -08:00
Andrew Eisenberg bd5da2b0f0 Release preparation for v1.5.11 2022-02-10 12:26:24 -08:00
Andrew Eisenberg 7785dfead2 Update changelog 2022-02-09 15:09:08 -08:00
Andrew Eisenberg 29c29f9e3a Save query history across restarts
Successfully completed queries will be stored on disk and available
across restarts.

- The query results are contained in global storage.
- Metadata and a summary about a query are stored in workspace storage.
- There is a job that runs every 2 hours to determine if any queries are
  old enough to be deleted.
2022-02-09 15:01:44 -08:00
Andrew Eisenberg 2f5a306c2d Simplify the query history objects to make them serializable
The goal with this change is to simplify the query history to make it
possible to serialize and de serialize.

This change adds serialization support. Since query history objects are
complex, the de-serialization requires manipulation of the 
de serialized object prototypes.
2022-02-08 12:43:38 -08:00
Andrew Eisenberg b237bafa2f Avoid AST Viewer for invalid selections
When a directory is selected or there are multiple selections, do not
show the command.
2022-02-04 11:54:11 -08:00
Andrew Eisenberg d0bde800f7 Update changelog 2022-02-04 11:54:11 -08:00
Andrew Eisenberg afe3c56ca8 Update changelog 2022-02-01 06:34:48 -08:00
shati-patel 19e0058e61 Bump version to v1.5.11 2022-01-25 16:41:03 +00:00
shati-patel 6d64c8f031 v1.5.10 2022-01-25 16:19:57 +00:00
Shati Patel c9a649f974 Update extensions/ql-vscode/CHANGELOG.md
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
2022-01-19 20:43:25 +00:00
shati-patel 30b7fe7472 Update changelog 2022-01-19 20:43:25 +00:00
shati-patel fc51b336fa Update changelog 2022-01-06 19:34:29 +00:00
shati-patel d547f81a55 Bump version to v1.5.10 2021-12-17 15:36:16 +00:00
shati-patel c01704b8aa v1.5.9 2021-12-17 12:04:27 +00:00
shati-patel 5a19042fc8 Update changelog 2021-12-16 17:58:55 +00:00
shati-patel bdf8c0b9c2 Add setting to enable/disable Quick Eval codelens 2021-12-16 17:58:55 +00:00
Andrew Eisenberg 6e2e72a500
Be nicer about where to open the results webview (#1037)
* Be nicer about where to open the results webview

Currently, the webview _always_ opens next to the currently active
editor. This is a pain if you already have 2 columns open since this
means that the webview will open in a third column, which is rarely
what you want.

This change uses a more sophisticated approach to opening the webview:

1. If there is only one column, open webview to the right of it
2. If there are multiple columns and the active editor is _not_ the
   last column, open to the right of the active editor
3. Otherwise open in the first column.

This will avoid opening a new column unless there is only one column
open right now.

There is no native API that vscode exposed to compare column locations,
so this uses the `ViewColumn` api is a slightly non-standard way.

A limitation is that if the last column is empty and the active editor
is to the left of it, then the webview will not be opened there (which
would be nice). Instead, it will be opened in column 1.

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
2021-12-15 19:33:53 +00:00
Andrew Eisenberg c8ed8b2591
Add code lens for quick evaluation (#1035)
* Add code lens for quick eval command

* Ensure commented out predicates do not have code lens

* Improve conditional check for commented out predicate  detection

* Refactor regex

* Move comment check to eliminate evaluating regex more than once

Co-authored-by: marcnjaramillo <mnj.webdeveloper@gmail.com>
2021-12-10 19:17:21 +00:00
Andrew Eisenberg 58f4a82616 Update changelog 2021-12-10 07:50:08 -08:00
shati-patel 749565828d Bump version to v1.5.9 2021-12-02 14:27:37 +00:00
shati-patel ff751cc877 v1.5.8 2021-12-02 11:26:36 +00:00
Andrew Eisenberg e13349ceb0 Update changelog 2021-11-29 11:16:49 -08:00
Andrew Eisenberg b481441052
Emit more relevant error message when failing to add source folder (#1021)
* Emit more relevant error message when failing to add source folder

Fixes #1020

* Update changelog

* Clarify changelog and error message

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
2021-11-29 16:28:07 +00:00
github-actions[bot] 6a1d1a492e
Bump version to v1.5.8 (#1017)
Co-authored-by: aeisenberg <aeisenberg@users.noreply.github.com>
2021-11-23 21:13:41 +00:00
Andrew Eisenberg 1dcd9c495c
Prepare for the 1.5.7 release (#1016) 2021-11-23 12:52:40 -08:00
Andrew Eisenberg 16c0bea799
Merge pull request #1004 from marcnjaramillo/fix-large-sarif-handling
Fix large sarif handling
2021-11-22 12:24:17 -08:00
marcnjaramillo d53abd815d Make suggested changes, build currently failing 2021-11-19 16:01:18 -08:00
Andrew Eisenberg 5ab55bb5a5
Merge branch 'main' into aeisenberg/sorted-result-sets 2021-11-18 10:49:44 -08:00
Musab Guma'a 3743895b66 Add "Preview Query Help" command 2021-11-18 16:10:26 +00:00
marcnjaramillo 4374f409a8 Add changelog entry and add missing dependencies 2021-11-17 16:37:37 -08:00
Andrew Eisenberg 03d4aca639
Add leniency in how positions are handled (#1002)
* Add leniency in how positions are handled

Previously, positions with end column of 0 were rejected by the
extension. CodeQL positions are supposed to be 1-based, but the CLI
does handle 0-based and negative positions by using character offsets
from the current line start.

Instead of rejecting these kinds of positions, the extension should
handle them as gracefully as possible.

Fixes #999

* Add changelog entry
2021-11-17 16:24:48 -08:00
Andrew Eisenberg 01f24523ac Update changelog 2021-11-17 09:39:49 -08:00
Musab Guma'a 848869e3f4 Make "Open Referenced File" command functional on open .qlref 2021-11-02 11:19:39 +00:00
Musab Guma'a 746086b761 Fix "Open Referenced File" command for windows paths 2021-10-27 16:54:21 +01:00
Musab Guma'a 3d24328402
Update CHANGELOG.md 2021-10-20 20:46:22 +01:00
Musab Guma'a 1014c4bdda Added case-insensitive fallback check for GitHub repos when downloading an LGTM project. 2021-10-20 19:35:41 +01:00
marcnjaramillo 98d48a3709 Update CHANGELOG.md entries for most recent changes 2021-10-19 11:14:19 -07:00
marcnjaramillo b22a8692c8 Integrated CLI database unbundle command for archive download
Co-authored by: Marc Jaramillo mnj.webdeveloper@gmail.comm
Co-authored by: Musab Guma'a mgsium@github.com
2021-10-18 14:55:17 -07:00
Marc Jaramillo b43b824da6
Simplify changelog entry
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
2021-10-08 13:52:07 -07:00
marcnjaramillo 22616c5582 Add changes to changelog 2021-10-08 13:05:48 -07:00
shati-patel 68863e3b90 Bump version to v1.5.7 2021-10-07 18:47:29 +01:00
shati-patel b38b884715 Add 1.5.6 header 2021-10-07 18:31:36 +01:00
shati-patel cc6f2d8886 Prepare release 2021-10-07 18:31:36 +01:00
Andrew Eisenberg 6292adf491
Merge branch 'main' into fix-db-remove 2021-10-07 08:17:24 -07:00
Andrew Eisenberg 112d40ff1c
Update CHANGELOG.md 2021-10-07 08:15:35 -07:00
Marc Jaramillo 21dda65871
Add progress messages to LGTM download option. (#960)
* Add progress messages to LGTM download option.

* Add additional argument to get test passing again.

* Make edits requested by @aeisenerg

* Fix assertion in test case

* Update extensions/ql-vscode/CHANGELOG.md
2021-10-04 17:22:11 +01:00
Marc Jaramillo 3fb2c71390
Merge branch 'main' into fix-lgtm-download-message 2021-10-01 11:19:57 -07:00
marcnjaramillo b40f648a87 Remove line about selecting a language from the dropdown. 2021-10-01 11:07:37 -07:00
Musab Guma'a 0493e316c0 Update extensions/ql-vscode/CHANGELOG.md
Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com>
2021-10-01 17:37:54 +01:00
Musab Guma'a 137e17c2e1 Add fix entry to CHANGELOG.md 2021-10-01 17:37:54 +01:00
aeisenberg a715ce13c9 Bump version to v1.5.6 2021-09-08 16:15:15 -07:00
Andrew Eisenberg 005372abba v1.5.5 2021-09-08 15:49:18 -07:00
Andrew Eisenberg 3f22587a7c Update changelog 2021-09-08 17:02:49 -04:00
Harry Maclean db529d5247 Update changelog 2021-09-07 15:58:33 +01:00
aeisenberg 0c6ca81437 Bump version to v1.5.5 2021-09-02 12:40:04 -07:00
Andrew Eisenberg b2422216b5 Update changelog for v2.5.4 release 2021-09-02 11:51:35 -07:00
Dave Bartolomeo 7e78a6bc5c Fix PR feedback 2021-09-02 11:14:32 -07:00
Dave Bartolomeo a4532fdc61 Add changenote for AST viewer failure fix 2021-09-02 11:14:32 -07:00
Benjamin Muskalla f6485dac95 Add changelog for sticky pagination controls 2021-08-26 08:14:25 -07:00
shati-patel 38a64017f2 New setting to specify number of paths per alert 2021-08-25 09:27:37 +01:00
Edoardo Pirovano e119218828 Update extensions/ql-vscode/CHANGELOG.md
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
2021-08-23 21:30:30 +01:00
Edoardo Pirovano 2561db1721 Allow exporting of results for non-alert queries 2021-08-23 21:30:30 +01:00
Benjamin Muskalla 089b23f0aa Remove old changelog entry 2021-08-19 13:04:16 +01:00
Benjamin Muskalla fbed7dd1ca Mention filename pattern in changelog 2021-08-19 13:04:16 +01:00
shati-patel 3d647f68e1 Bump version to v1.5.4 2021-08-18 16:43:37 +01:00
shati-patel 6a36dc34cc v1.5.3 2021-08-18 16:29:41 +01:00
Eric Kim 3d8032c9b7 Update Changelog 2021-08-17 08:28:25 -07:00
shati-patel 5932bdba96 Address review comments
- Tweak return types + logging
- Update changelog
2021-08-04 20:00:49 +01:00
shati-patel d2d1a09723 Update changelog 2021-07-16 09:34:45 +01:00
shati-patel 7df634f050 Bump version to v1.5.3 2021-07-13 18:50:52 +01:00
shati-patel 46606aa7b5 v1.5.2 2021-07-13 18:27:28 +01:00
shati-patel 977b061048 Fix error from "Open Query Results" button 2021-07-13 09:04:00 +01:00
shati-patel 7a58d360fd Update changelog 2021-07-12 09:36:10 +01:00
shati-patel 1a18c6d056 Update changelog 2021-06-25 16:14:12 -07:00
shati-patel c361671e36 Bump version to v1.5.2 2021-06-23 19:28:31 +01:00
shati-patel b71452b87c v1.5.1 2021-06-23 16:11:05 +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 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 a8fd6cc0ee Add changelog note 2021-05-21 21:41:40 +01: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
Andrew Eisenberg c4b12250ba Update ChangeLog 2021-05-14 08:00:25 -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 2021-05-05 17:41:02 +01:00
Shati Patel 67eaaadfce Update changelog 2021-04-29 10:31:51 -07:00
Shati Patel eab5865a5c Fix conflict in changelog 2021-04-26 07:53:03 -07:00
Shati Patel 0e8cd0d2b1 Update changelog 2021-04-26 07:53:03 -07:00
Andrew Eisenberg fce9bbce20 Update changelog 2021-04-23 14:57:28 -07:00
aeisenberg f6c67bf696 Bump version to v1.4.8 2021-04-23 17:29:40 +01:00
Andrew Eisenberg 3fce04a24b v1.4.7 2021-04-23 08:11:50 -07:00
Henry Mercer fba8f51d1b
Add polyfill for path to fix a bug that prevented the results view from being loaded (#842)
* Add a polyfill for the Node.js path module

Webpack >v5 doesn't include polyfills for core modules from Node.js by
default. Since we use `path` in the results table UI, we need to include
our own polyfill. This commit adds `path-browserify` to the
distributed extension.

As future work, we could move SARIF location rendering into the core
extension so we don't need to use `path.basename` in the UI. This would
allow us to remove the polyfill.

* Add changelog note
2021-04-23 12:53:48 +01:00
aeisenberg 31ee3cb978 Bump version to v1.4.7 2021-04-23 03:57:48 -07:00
Andrew Eisenberg 4d99126994 v1.4.6 2021-04-21 11:33:47 -07:00
Henry Mercer ced34ad704 Add changelog note 2021-04-21 15:43:57 +01:00
Andrew Eisenberg bf5ed193be Avoid opening the results panel on db deletion
Fixes https://github.com/github/vscode-codeql/issues/823
2021-04-19 08:05:27 -07:00
Andrew Eisenberg 5b08fd0df1 Fix CHANGELOG 2021-04-10 11:19:32 -07:00
Edoardo Pirovano e033578cd2 Add feature to jump to the .ql file referenced by a .qlref 2021-04-09 15:19:47 -07:00
Andrew Eisenberg 6d26491243 Avoid displaying error message for @kind table queries
Also, add a unit test for this area.
2021-03-29 08:16:51 -07:00
Aditya Sharad cd7354446b
v1.4.5 (#804) 2021-03-22 17:18:32 -07:00
Andrew Eisenberg 8c2db75886
Avoid showing an error when query has not @kind metadata (#801)
Fixes #800
2021-03-22 08:03:13 -07:00
aeisenberg ada1180468 Bump version to v1.4.5 2021-03-19 15:39:32 -07:00
Andrew Eisenberg df936167d5 v1.4.4 2021-03-19 10:24:35 -07:00
Andrew Eisenberg 0327ec358c Update Changelog 2021-03-19 08:58:10 -07:00
Edoardo Pirovano 10e86f1835 Add some commonly used QL snippets 2021-03-17 08:43:00 -07:00
Edoardo Pirovano dbaed3acd5 Implement viewing of query results as a CSV 2021-03-17 08:04:46 -07:00
Edoardo Pirovano 6830bdd28d Add option to pass additional arguments when running tests 2021-03-16 13:45:00 -07:00
Edoardo Pirovano e316decae1 Implement sorting of query history by name, date, and result count 2021-03-15 11:18:47 -07:00
Edoardo Pirovano b30121b84c Apply suggestions from code review
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
2021-03-12 08:46:45 -08:00
Edoardo Pirovano fd15217a20 Expand disk cache evaluator options 2021-03-12 08:46:45 -08:00
Shati Patel 1d03702334 Docs: Update Telemetry links 2021-03-09 08:41:52 -08:00
Andrew Eisenberg 6e40478440 Add error message when interpretation fails
One way it can fail is if the SARIF is too large. We explicitly call
out that error because the raw message received from the node runtime
is not very understandable.
2021-03-02 14:03:19 -08:00
Andrew Eisenberg 9e68b4f061 Use codeQL.runningQueries.numberOfThreads to run interpretation
When running `codeql bqrs interpret`, ensure the
`codeQL.runningQueries.numberOfThreads` setting is respected.
2021-03-02 13:47:12 -08:00
Andrew Eisenberg 0f82875b9d Allow raw project slugs for fetching lgtm dbs
The following is now acceptable for fetching the codeql lgtm database:

```
g/github/codeql
```
2021-03-02 11:40:51 -08:00
aeisenberg fd52f66f6d Bump version to v1.4.4 2021-03-02 10:23:52 -08:00
Andrew Eisenberg 48df77f673
v1.4.3 (#761) 2021-02-22 12:30:14 -08:00
Andrew Eisenberg 839665588f Avoid clobbering quick-query file when re-opened
Only recreate the qlpack.yml file.

Also, add an integration test for quick-query creation.
2021-02-22 12:05:25 -08:00
Andrew Eisenberg 707cba4ac9 Fix issues with dynamic updating of the version status bar item
1. Wait a few seconds before updating the status bar after a version
   change.
2. Ensure we are watching the correct configuration items for changes.
3. Ensure the cli version is refreshed correctly.
2021-02-12 08:22:59 -08:00
Andrew Eisenberg be9084e83e Fix error messages for ast viewers and update caching
This commit does two things:

1. Add more appropriate error messages when asts can't be viewed.
2. Make better use of cached operations for asts. In the past, we were
not actually using cached operations. Each time an ast view request
occurred, we created a new TemplatePrintAstProvider instance. With this
change, we reuse the TemplatePrintAstProvider between calls and ensure
that an AST that is called once is reused on subsequent calls.
2021-02-11 15:34:49 -08:00
Andrew Eisenberg 57d856ff5c Avoid displaying irrelevant error
Problem was misplaced parens. We were not waiting for
the call to `pathExists` to complete before making the call
to `stat` the directory. When the directory does not
exist, then `stat` throws an error.
2021-02-11 13:07:52 -08:00
aeisenberg 47b57c01f3 Bump version to v1.4.3 2021-02-02 14:34:19 -08:00
Andrew Eisenberg 27529bfc33 v1.4.2 2021-02-02 14:23:49 -08:00
Andrew Eisenberg 0e4ae83e74 ` 2021-02-02 12:38:53 -08:00
Andrew Eisenberg 3b1ff0f4a3 Add a codeql status bar item
Includes the current cli version as well as the
canary status (codeQL.canary) in the settings.
2021-02-02 09:40:59 -08:00
Andrew Eisenberg 5079abd06f Fix version constraint
Non-destructive upgrades only exist in versions >= 2.4.2
2021-02-02 09:17:33 -08:00
aeisenberg 4e94f70e6f Bump version to v1.4.2 2021-01-29 21:45:42 -08:00
Andrew Eisenberg 79e2666586 v1.4.1 2021-01-29 21:37:29 -08:00
Andrew Eisenberg 02080cd797 Change text and fix link of modal dialog
Modal dialogs do not allow for markdown text. The link was invalid.
Also, make CodeQL more prominent in the dialog.
2021-01-29 17:46:42 -08:00
aeisenberg 7347ff5512 Bump version to v1.4.1 2021-01-29 16:07:07 -08:00
Andrew Eisenberg c26217df88 v1.4.0 2021-01-29 15:32:50 -08:00
Andrew Eisenberg 091d36b1a0 Tweak telemetry page and changelog 2021-01-29 15:21:12 -08:00
Andrew Eisenberg 292e695646 Add telemetry for commands
This commit adds telemetry capturing for command execution. The data
captured explicitly captured and sent to application insights is only
the command id, execution time, and command completion status. We also
capture errors thrown by any command execution, but these are not sent
to application insights.

Telemetry capturing is opt-in. No data will be sent to application
insights unless the user explicitly allows it.

There are two new config settings added. The first controls whether or
not telemetry should be sent. This setting AND the global telemetry setting
must be enabled in order for telemetry to be sent.

The second setting controls whether or not telemetry event data should
be logged to the extension console. The hope here is that users can
inspect exactly what data is sent to the server and can have confidence
that nothing concerning is being leaked.

Note that the global setting for disabling telemetry collection is
handled inside the  `vscode-extension-telemetry` package implicitly, so
this extension doesn't touch that setting explicitly.

The `codeql.canary` setting is being used to add an additional flag to
telemetry events. This flag will help us determine if a user in internal
or not.

The application insights key is injected at build time through a
repository secret.

This commit also includes a new `TELEMETRY.md` file that explains what
is being captured, and why.
2021-01-29 15:21:12 -08:00
Andrew Eisenberg f154206b47 Fix invalid property name on message 2021-01-29 11:24:07 -08:00
Andrew Eisenberg 07eb334e6c Ensure databases are re-registered when query server restarts
This commit fixes #733. It does it by ensuring that the query server
emits an event when it restarts the query server. The database manager
listens for this even and properly re-registers its databases.

A few caveats though:

1. Convert query restarts to using a command that includes progress.
   This will ensure that errors on restart are logged properly.
2. Because we want to log errors, we cannot use the vscode standard
   EventEmitters. They run in the next tick and therefore any errors
   will not be associated with this command execution.
3. Update the default cli version to run integration tests against to
   2.4.2.
4. Add a new integration test that fails if databases are not
   re-registered.
2021-01-29 11:24:07 -08:00
aeisenberg 650f4ca047 Bump version to v1.3.11 2021-01-21 19:06:58 +00:00
Andrew Eisenberg a7c73cc421 v1.3.10 2021-01-20 14:15:45 -08:00
Andrew Eisenberg 9c72e81264 Update changelog 2021-01-20 13:05:53 -08:00
aeisenberg 49ac9796a1 Bump version to v1.3.9 2020-12-17 11:55:58 -08:00
Andrew Eisenberg 89b6b5a945 v1.3.8 2020-12-17 11:52:33 -08:00