Commit graph

93 commits

Author SHA1 Message Date
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
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ć
0e917dc1ad go mod tidy 2021-02-22 19:02:35 +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
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
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
Mislav Marohnić
b52b669f6a bump google/go-cmp to v0.5.2 2020-09-09 17:51:02 +02:00
Mislav Marohnić
03e4284798 bump mattn/go-colorable to v0.1.7 2020-09-09 17:50:46 +02:00
Mislav Marohnić
03667e44d0 bump stretchr/testify to v1.6.1 2020-09-09 17:50:21 +02:00
Mislav Marohnić
8dfc8cc172 bump henvic/httpretty to v0.0.6 2020-09-09 17:49:57 +02:00
Mislav Marohnić
29172e1391 bump AlecAivazis/survey to v2.1.1 2020-09-09 17:49:19 +02:00
Mislav Marohnić
b93c896561 Upgrade text/width package 2020-09-02 21:01:39 +02:00
Jesse Millar
90f04d4864 Enable custom color themes with the GLAMOUR_STYLE environment variable 2020-07-28 15:23:48 +02:00
Mislav Marohnić
cbcc778d20 Adapt markdown rendering for light terminal backgrounds
Bonus: disallows trying to first read `notty` and `dark` style files from disk
2020-07-21 13:16:42 +02:00
Mislav Marohnić
fbf425f048 go mod tidy 2020-07-07 17:57:52 +02:00
Mislav Marohnić
f4c4ce0b0a Add names to GraphQL queries made over shurcooL adapter 2020-07-07 17:53:40 +02:00
Mislav Marohnić
0dfc0f733f Fix indentation of Example blocks
In HTML, `Example` blocks seem to be already injected in fenced Markdown
blocks `` ``` ``, so they don't need to be especially intented.
2020-06-11 20:31:37 +02:00
Mislav Marohnić
61ddd67f20 Bump yaml.v3 2020-05-28 15:23:41 +02:00
Mislav Marohnić
26466f8a0d Bump net 2020-05-28 15:23:23 +02:00
Mislav Marohnić
4abb1a9778 Bump crypto 2020-05-28 15:23:08 +02:00