Commit graph

958 commits

Author SHA1 Message Date
vilmibm
c30b482bf0 switch defaults for pr view 2020-03-17 17:06:42 -05:00
Nate Smith
74a2a24104
Merge pull request #590 from cli/pr-create-autofill
autofill title/body for PRs
2020-03-17 14:24:21 -07:00
vilmibm
0344e9543a humanize branch name for title 2020-03-17 16:18:32 -05:00
vilmibm
98a2281f45 more nuanced error handling 2020-03-17 16:09:40 -05:00
vilmibm
af46fcb1ff --fill for pr create 2020-03-16 15:32:47 -05:00
vilmibm
2d90c09f48 review feedback 2020-03-16 15:32:35 -05:00
Mislav Marohnić
da4bbe398e
Merge pull request #650 from cli/oauth-localhost-callback
Avoid redirecting to `localhost` during authorization flow
2020-03-16 15:08:23 +01:00
vilmibm
a23549001e cleanup 2020-03-13 15:14:32 -05:00
vilmibm
1b7840326c actually add tests for computing defaults 2020-03-13 15:14:03 -05:00
vilmibm
fba4f4d19e InitCmdStubber 2020-03-13 15:12:23 -05:00
vilmibm
c4c967fa0f add AskStubber 2020-03-13 15:12:17 -05:00
vilmibm
ed8aaa83e3 add CmdStubber 2020-03-13 15:12:09 -05:00
vilmibm
8769299731 titlebody prepopulation 2020-03-13 15:12:03 -05:00
Mislav Marohnić
58f6bef8a7
Merge pull request #651 from doi-t/fix-issue-view-description
Fix 'gh issue view' usage description
2020-03-13 17:15:13 +01:00
Toshiya Doi
102cfdb1a2 Rearrange the order of command initialization 2020-03-13 23:59:18 +09:00
Toshiya Doi
5e3aa31cf1 Fix 'gh issue view' usage description 2020-03-13 23:58:41 +09:00
Mislav Marohnić
71d3696667 Avoid redirecting to localhost during authorization flow
Web developers who have previously ran an application on
`http://localhost` that enabled HSTS (HTTP Strict Transport Security)
will find themselves unable to authenticate because their browser
(typically Safari, in practice) will keep redirecting them to
`https://localhost`, which isn't handled by our local server.

This switches the authorization callback to be to `127.0.0.1`, which
should be equivalent to `localhost`, but not subject to HSTS.
2020-03-13 13:40:04 +01:00
Mislav Marohnić
8a4fd432ea
Merge pull request #638 from doi-t/show-the-most-recent-pr
Only show the most recent PR for the current branch
2020-03-13 10:07:12 +01:00
Mislav Marohnić
c940c4c781
Merge pull request #643 from ianschmitz/patch-1
Update Feodra install instructions
2020-03-13 10:03:10 +01:00
Toshiya Doi
4c4aeb5ec6 Return the latest PR belonging to the current branch 2020-03-13 09:49:20 +09:00
Ian Schmitz
a7110a7065
Update Feodra install instructions
Updated instructions to use `dnf` package manager instead of `yum`, which has been the default package manager in Fedora since Fedora 22 (2015).
2020-03-12 15:50:34 -07:00
Mislav Marohnić
8913f6466d
Merge pull request #625 from eddumelendez/add_author_flag_issues
Add filter issues by author
2020-03-12 19:06:17 +01:00
Toshiya Doi
bc27ba2a75 Only show the most recent PR for the current branch 2020-03-13 00:25:17 +09:00
Toshiya Doi
3c4f006eff Add a test for the current branch 2020-03-13 00:24:44 +09:00
Toshiya Doi
6db7e89abf Fix indentations and PR numbers of a test fixture 2020-03-13 00:24:10 +09:00
Mislav Marohnić
d323783a0f
Merge pull request #629 from sibis/verify-view-repo
Verify repository before viewing in the browser #598
2020-03-11 20:21:40 +01:00
sibis
0fc9dfac37 refactor: code cleanup incorporating the PR suggestions and removed blank lines 2020-03-12 00:44:07 +05:30
Mislav Marohnić
14603f43d4
Merge pull request #624 from rista404/pr-state-merged-closed-613
Show state instead of checks/reviews for closed/merged PRs
2020-03-11 19:10:30 +01:00
Eddú Meléndez
834755acb6 Remove unused stub data 2020-03-11 10:13:47 -06:00
Mislav Marohnić
c5499c8173
Merge pull request #626 from jsjoeio/patch-1
feat: update README
2020-03-11 17:07:44 +01:00
Billy Griffin
825fd05321
Merge pull request #631 from cli/what-is-hub-baby-dont-hurt-me
Add documentation about gh vs. hub
2020-03-11 08:41:41 -06:00
Joe Previte
ba4d5c5f0b
Update README.md 2020-03-10 19:43:18 -07:00
Joe Previte
f8865e3c23
refactor: remove editor section and one line docs 2020-03-10 19:40:40 -07:00
Nate Smith
a55b473188
Merge pull request #591 from cli/powershell-completions
Add support for PowerShell completion
2020-03-10 14:56:28 -07:00
Nate Smith
6886795a2d
Merge pull request #617 from cli/repo-create-homepage
Fix setting homepage URL in `repo create`
2020-03-10 14:52:49 -07:00
Nate Smith
80f4cdde82
Merge pull request #618 from cli/pr-create-validate
Ensure `pr create` validates all inputs before forking+pushing
2020-03-10 14:51:00 -07:00
Nate Smith
d03b94c5b2
Merge pull request #628 from cli/api-flags-rm
Stop opting into API previews that have since shipped
2020-03-10 14:40:11 -07:00
Billy Griffin
5663a67df4 Minor language tweak to avoid repetition 2020-03-10 15:31:33 -06:00
Billy Griffin
21419531e3 Add links to docs 2020-03-10 15:27:34 -06:00
Billy Griffin
12ba3f6389 Add reference to hub comp in README 2020-03-10 15:21:01 -06:00
Billy Griffin
a00a48d0b6 Document comparison with hub 2020-03-10 15:20:49 -06:00
Billy Griffin
601a934a99
Merge pull request #630 from cli/create-docs
Move docs to docs folder
2020-03-10 15:08:13 -06:00
rista404
e803470b03 Print merged/closed in the same line as PR title 2020-03-10 20:56:45 +01:00
sibis
0cef66dc67 Verify repo before viewing in the browser 2020-03-11 01:11:39 +05:30
Billy Griffin
159a697159 Add README to docs folder 2020-03-10 13:22:39 -06:00
Billy Griffin
f32235aa08 Move docs to docs folder
The docs were just hanging out in the top level repo and we thought it'd be nicer to start to organize them together.
2020-03-10 12:52:01 -06:00
Amanda Pinsker
7f9cceccbd
Make the README title a little less verbose 2020-03-10 11:15:47 -07:00
Eddú Meléndez
2a87dabf59 Remove unused fields 2020-03-10 10:17:22 -06:00
Mislav Marohnić
7c11f7655a No need to opt in to shadow-cat API preview
This was needed for draft pull requests, but these APIs were public
since Feburary 2020.
2020-03-10 13:59:56 +01:00
Mislav Marohnić
42b40b1179 No longer need to opt into pe_mobile API flag
`pe_mobile` was required to get access to `reviewDecision` and
`statusCheckRollup`, but both are now public in GitHub API.
2020-03-10 13:58:06 +01:00