Billy Griffin
3e21043bc3
more specific timeframe
...
Co-Authored-By: Neha Batra <nerdneha@github.com>
2020-03-17 16:35:19 -06:00
Toshiya Doi
7b5a0b5694
Add a missing isDraft for querying PR by number
2020-03-18 07:32:18 +09:00
Toshiya Doi
0cfa4be86a
Add tests for utilities of PR/issue state format
2020-03-18 07:30:28 +09:00
vilmibm
e4b43b08b9
update usage text
2020-03-17 17:13:48 -05:00
Billy Griffin
c869211f9e
More detail about GHES support
2020-03-17 16:12:44 -06:00
vilmibm
00de6b9c09
switch defaults for issue view
2020-03-17 17:06:42 -05:00
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
Toshiya Doi
46a632c8f6
Fix utility function scopes
2020-03-18 04:52:03 +09:00
Toshiya Doi
e85259d84f
Remove labels from the issue preview header
...
See https://github.com/cli/cli/issues/652#issuecomment-598940740
2020-03-18 04:42:50 +09:00
Dmitry Sharshakov
d755288cdf
Implement review comments
2020-03-17 20:05:53 +03: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
Tarasovych
d0c32e7a3d
changed error message and pr check
2020-03-16 16:01:03 +02:00
Toshiya Doi
9a6026e9fc
Format PR/Issue states with color
2020-03-16 04:32:41 +09:00
Toshiya Doi
c8a72c3bcb
Add a test for viewing an issue without labels in CLI
2020-03-16 04:26:32 +09:00
Toshiya Doi
5a23113b5b
Add tests for the Closed/Merged PR preview
2020-03-16 04:21:35 +09:00
Toshiya Doi
8cd6932f9e
Add a test for the closed issue preview
2020-03-16 04:12:26 +09:00
Toshiya Doi
0475cf0112
Extract test fixtures for 'issue view --preview'
2020-03-16 03:21:03 +09:00
Toshiya Doi
e0bfd67c69
Fix tests for preview messages with a issue/PR state
2020-03-16 03:13:05 +09:00
Toshiya Doi
b8edb9f62d
Show the PR state for viewing PRs in CLI
2020-03-16 02:41:02 +09:00
Toshiya Doi
caf26e4093
Show the issue state for viewing issues in CLI
2020-03-16 02:40:49 +09:00
Toshiya Doi
faa4bed67a
Move colorFuncForState for a PR/issue state to the utils package
2020-03-16 02:32:11 +09:00
Toshiya Doi
d429babe2b
Add 'state' to queries for pull requests
2020-03-16 02:27:33 +09:00
Toshiya Doi
94a1e6a830
Add 'state' and 'createdAt' to the query for IssueByNumber
2020-03-16 02:25:27 +09:00
Dmitry Sharshakov
45c2a16d49
Don't list remotes when --repo flag is set
2020-03-14 23:14:38 +03:00
UmairShahzad
f51669e228
Merge remote-tracking branch 'origin/master' into pr-count
2020-03-14 19:02:51 +05: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
Tarasovych
f3c9406e76
fixed repo argument
2020-03-13 16:01:37 +02: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
Tarasovych
b544583b26
added check if pr already exists
2020-03-13 14:02:29 +02: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