Commit graph

109 commits

Author SHA1 Message Date
Mislav Marohnić
11fbb60ae7 Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
Nate Smith
a53ea0c655
Merge pull request #4177 from cli/survey231
bump survey to 2.3.1
2021-08-23 13:51:03 -05:00
Heath Stewart
88af63d36f
Re-enable label colors for issue list (#4106)
* Re-enable label colors for issue list
* Drop parentheses wrapping issue labels
* Support ANSI escape codes in TablePrinter cells
* Switch to a Truncate implementation that correctly measures ANSI escape codes
* Only output RGB color if terminal has truecolor capabilities
* Enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` on Windows - fixes wrapping issues with full lines and allows truecolor rendering

Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-08-23 19:55:12 +02:00
vilmibm
0388d457b0 bump survey to 2.3.1 2021-08-23 12:53:11 -05:00
Nate Smith
5a328c38db
Merge pull request #4172 from cli/accessible-survey
Bump Survey for accessibility features
2021-08-23 11:55:49 -05:00
Mislav Marohnić
eb78ac0dcb Require Go 1.16+ 2021-08-23 18:08:09 +02:00
Mislav Marohnić
18ea94a28e Bump Survey for accessibility features
a4e159a1a7
2021-08-23 12:20:31 +02:00
Sam Coe
315c6e4eb7
Remove backwards compatibility with homedir library for config files 2021-08-17 10:28:16 -07:00
Mislav Marohnić
3e8f075a8e Bump Cobra for improved completion support 2021-07-21 15:01:31 +02:00
Mislav Marohnić
2624ed9d8c Merge remote-tracking branch 'origin' into bump-survey 2021-07-20 18:28:58 +02:00
Mislav Marohnić
4dc23d869e Bump gojq to latest version
Upgrades gojq, the library that powers the `--jq` filter flag for JSON.
This upgrade is purely housekeeping and not to address any particular
issue reported with gh.

https://github.com/itchyny/gojq/releases/tag/v0.12.4
2021-07-12 15:34:08 +02:00
Mislav Marohnić
079542d35c Bump Survey library for cursor improvements
https://github.com/AlecAivazis/survey/releases/tag/v2.2.14
2021-07-12 14:47:40 +02:00
Mislav Marohnić
c2c691f444 Add test for our survey editor extension 2021-06-03 18:05:43 +02:00
Tobias Klauser
7ed4204dfc Bump github.com/rivo/uniseg to v0.2.0
Changes: https://github.com/rivo/uniseg/compare/v0.1.0...v0.2.0

This speed up and reduces the memory footprint of `uniseg.NewGraphemes`,
used in `pkg/text`.
2021-05-19 19:14:56 +02:00
Mislav Marohnić
df2ae17b54 Bump Cobra to v1.1.3 2021-05-12 17:35:02 +02:00
Tobias Klauser
b586d51778 Use golang.org/x/term
The golang.org/x/crypto/ssh/terminal package is deprecated and merely a
wrapper around golang.org/x/term. Use the latter directly.
2021-04-28 18:44:36 +02:00
Kohei Watanabe
17805c8cd5 Bump AlecAivazis/survey 2021-04-16 21:01:23 +09:00
Sam Coe
01505daaf5
remove previous emoji workaround 2021-04-12 09:56:00 -07:00
Sam Coe
21c4f1498e
go mod tidy 2021-04-12 09:45:14 -07:00
Sam Coe
e7776cc906
update glamour to version which includes emoji support 2021-04-12 09:29:38 -07:00
vilmibm
c8e481e165 gh run watch 2021-04-06 20:27:09 -05:00
Mislav Marohnić
111e8dbcf2 Pass web browser to each individual command
This removes sensitivity to the BROWSER environment variable in tests
and makes it easier to verify the URL that the browser was invoked with
without having to stub sub-processes.
2021-03-19 21:22:37 +01:00
Nate Smith
2fbc037658
Merge pull request #3042 from g14a/bug/gist-binary-files
Remove functionality to add, view and edit binary files in gists
2021-03-04 13:01:54 -06:00
Gowtham Munukutla
973fbb0925 Disallow operating on binary files in gist 2021-03-02 14:52:44 +01:00
Mislav Marohnić
329ba1d57b Add --filter to api command to filter data using jq syntax 2021-02-22 17:51:58 +01:00
Mislav Marohnić
dcff6c4f2d Fix pr status for GHE 2.22 and older
This queries for the availability of the `branchProtectionRule` field on
"Ref" before trying to request it from GraphQL.
2021-02-18 17:46:13 +01:00
Mislav Marohnić
86eb264277
Merge pull request #2650 from cli/auth-extract
Extract the oauth package into a separate repo
2021-01-05 16:41:22 +01:00
Mislav Marohnić
9140e88708 Extract oauth package 2020-12-18 20:27:56 +01:00
marmorag
7415d236bc chore(deps): bump AlecAivazis/survey 2020-12-18 15:01:25 +01:00
Mislav Marohnić
e9e8f207cc Bump AlecAivazis/survey 2020-11-25 14:52:13 +01:00
Sam Coe
7f57c1c3f2
Downgrade survey to v2.1.1 2020-11-17 11:25:07 +03:00
Mislav Marohnić
fc3f517419
Merge pull request from GHSA-fqfh-778m-2v32
Ensure that only PATH is searched when shelling out to external commands
2020-11-11 16:36:50 +01:00
Mislav Marohnić
5b4a08dcb9 Ensure that only PATH is searched when shelling out to external commands
Works around https://github.com/golang/go/issues/38736 for Windows.
2020-11-11 16:33:13 +01:00
Mislav Marohnić
f505d1fdf7 Bump golang.org/x/text 2020-11-11 15:36:35 +01:00
Mislav Marohnić
6ac38d9774 Bump golang.org/x/crypto 2020-11-11 15:36:23 +01:00
Mislav Marohnić
67cafa305b Bump shurcooL/githubv4 2020-11-11 15:36:01 +01:00
Mislav Marohnić
a860708c7b Bump muesli/termenv 2020-11-11 15:34:15 +01:00
Mislav Marohnić
f2864aa5b5 Bump mattn/go-colorable 2020-11-11 15:33:27 +01:00
Mislav Marohnić
be783cf256 Bump AlecAivazis/survey 2020-11-11 15:32:54 +01:00
Sam
36949e263a Internalize doc generation from Cobra 2020-10-22 09:38:51 +00:00
Sam
9d6f5a8e75 Update spf13/cobra to v1.1.1 2020-10-20 09:02:50 +00:00
Sam Coe
f132161cc4
Upgrade termenv 2020-09-28 10:57:25 +02:00
Sam Coe
ed4075517c
Check for terminal background color before starting pager 2020-09-24 13:06:28 +02:00
2017A7PS0125G
5b413da745 Emoji parsing in Readme content 2020-09-19 00:24:22 +05:30
Sam Coe
e5466c0411 Improve string display width calculation 2020-09-11 11:56:54 +02:00
Mislav Marohnić
8289dcb55e bump yaml.v3 2020-09-09 17:53:26 +02:00
Mislav Marohnić
640450de6f bump golang.org/x/crypto 2020-09-09 17:53:10 +02:00
Mislav Marohnić
c00fa2d42b bump shurcooL/githubv4 2020-09-09 17:52:43 +02:00
Mislav Marohnić
de1e9e848b bump mgutz/ansi 2020-09-09 17:51:50 +02:00
Mislav Marohnić
2eebae1e99 bump hashicorp/go-version to v1.2.1 2020-09-09 17:51:14 +02:00