William Martin
614e49296b
Add tests for AuthConfig Login and Logout
2023-10-18 17:09:20 +02:00
William Martin
34b0b33f24
Add initial AuthConfig tests
2023-10-18 16:31:13 +02:00
William Martin
5f645eaded
Add tests for config GetOrDefault
2023-10-18 16:10:53 +02:00
William Martin
b94f458950
Add initial tests for config Get
2023-10-18 15:51:46 +02:00
David Gardiner
a8f8728056
Poll permission acceptance endpoint on codespace creation
2023-10-12 16:55:13 -07:00
David Gardiner
64f4660ec7
Migrate all Codespaces operations from Live Share to Dev Tunnels ( #8149 )
...
* Migrate all Codespaces operations from Live Share to Dev Tunnels
* Remove Live Share references
* Fix linting errors
* Update comments, remove deps, add uint16 bound checks
* Fix tests and move keep-alive logic to forwarder
* Address comments
* Updated mock port forwarder
* Fix CodeQL error
* Update comment
* Update func name
* Add missing connection close
* Fix linting error
* https -> http
* Update defer
* Fix tests
2023-10-12 22:16:36 +00:00
David Gardiner
e059f32aa5
Forward codespace ports over Dev Tunnels
2023-09-27 13:42:40 -07:00
Keith Bailey
97755c6bf0
Document when gh auth login writes oauth token to plain text ( #7781 )
2023-09-18 11:34:13 +02:00
Sam Coe
8016244dbb
Use go-gh prompter package ( #7896 )
2023-08-28 08:08:43 -05:00
azarashi
bb42fa07aa
codespace: Handle HTTP request retry interruption ( #7846 )
...
* codespace: Handle HTTP request retry interruption
* codespace: Make the error message more detailed
2023-08-18 07:16:06 -07:00
Nate Smith
a51aba0d22
Merge pull request #7850 from cli/noch-prompts
...
update more prompts
2023-08-17 17:38:17 -05:00
Nate Smith
f2e5ad6dcd
fix RegisterPassword
2023-08-16 21:26:37 -05:00
Sam Coe
4a57a812f5
Upgrade to Go 1.21 ( #7843 )
2023-08-16 10:37:58 -07:00
Nate Smith
d9ea221b1a
Merge pull request #7816 from cli/prompts-again
...
port repo edit prompts
2023-08-10 17:45:49 -07:00
John Keech
93e1511bae
Codespaces: Use the host name from the logged in server for commands ( #7795 )
...
* Use the host name from the logged in server for codespace commands
* Fix existing tests
* Add tests for server url configuration
* Rename defaultApiUrl to defaultAPIURL and comment cleanup
* Switch to t.Setenv in codespaces api tests
* Switch to t.Setenv in other tests
* Support custom server in web flows for list and create
* Rename GetServerURL() to ServerURL()
2023-08-08 09:32:06 -07:00
Nate Smith
7d470c4df4
name MultiSelect parameters in interface
...
I wanted the parameters to show up in my autocomplete
2023-08-07 17:59:12 -07:00
Sam Coe
8079d18efd
Use asciisanitization package from go-gh ( #7745 )
2023-07-24 10:50:33 -07:00
Sam Coe
ad283cff72
Fix pr checks command for GHES versions older than 3.9 ( #7725 )
2023-07-19 09:25:07 -07:00
Sam Coe
5d82a9553c
Sanitize file contents before displaying them ( #7694 )
2023-07-18 12:49:25 -07:00
Jose Garcia
37d8e9e915
Support --server-port behavior with conn details
2023-07-02 20:55:56 -04:00
Sam Coe
d21c11d774
Add tenancy support ( #7636 )
2023-06-30 11:20:53 +00:00
Sam Coe
bf7db84ca8
Add timeouts to keyring operations ( #7580 )
2023-06-20 23:45:20 +00:00
David Gardiner
06e40dfddb
Merge pull request #7496 from dmgardiner25/add-view-cmd
...
Add `gh cs view` command
2023-05-30 14:37:34 -07:00
David Gardiner
3c05c99c83
Address comments
2023-05-30 12:20:23 -07:00
David Gardiner
f6a5398bf9
Update fields to show
2023-05-26 22:59:28 +00:00
David Gardiner
99cd0af8b4
Check if running in a codespace
2023-05-26 15:41:34 -07:00
David Gardiner
54560c19dd
Add gh cs view command
2023-05-26 09:54:58 -07:00
Mislav Marohnić
8741b648a6
Speed up gh start up time ( #7487 )
...
The tcell library has an `init()` block where it performs some very expensive
indexing that takes 30-40 ms on my machine. This results in fixed overhead for
every gh invocation, even for commands that don't use tcell at all.
This sets an environment variable that instructs tcell to avoid doing that.
2023-05-26 16:38:13 +02:00
William Martin
b292dc43b2
Merge pull request #7462 from cli/wm/counts-by-state
...
Use new GQL fields that support CheckRun and StatusContext counts by state
2023-05-25 12:38:01 +02:00
vilmibm
3bd1d6770c
fix variable name
2023-05-24 12:40:46 -07:00
William Martin
505c954544
Remove unused emptyIntrospectionFor test helper
2023-05-23 17:13:48 +02:00
William Martin
b02d5efb18
Use two queries in one request for PR feature detection
2023-05-23 15:42:38 +02:00
vilmibm
a15eb91a0c
go generate
2023-05-23 00:13:57 -07:00
vilmibm
5597139df3
switch to []int return for multiselect
2023-05-23 00:12:44 -07:00
William Martin
42b61ad53e
Inject fake detector into PR status tests
2023-05-22 18:44:51 +02:00
vilmibm
8a605fbaf5
Merge remote-tracking branch 'upstream/trunk' into run-prompts
2023-05-19 10:25:18 -07:00
William Martin
bfd3c7b20b
Short circuit status check GQL introspection for GitHub.com
2023-05-17 18:45:25 +02:00
William Martin
c2e3dae602
Add support for detecting status and check counts in GQL
2023-05-17 18:45:25 +02:00
William Martin
7e2bac89bd
Remove old, unused detector fields ( #7458 )
2023-05-17 14:50:28 +02:00
Caleb Brose
443bb75f09
Fix shellcheck bugs in generate.sh ( #7392 )
2023-05-01 10:31:06 -05:00
Kousik Mitra
d0207a2ede
Add capability to filter codespaces by repo owner ( #7347 )
...
* Add capability to filter codespaces by repo owner
* Replace Flags with PersistentFlags
* Reword flag description
* Update test seed
* Add mutual exclusion
---------
Co-authored-by: Caleb Brose <5447118+cmbrose@users.noreply.github.com>
2023-04-27 10:42:08 -05:00
Benjamin Levesque
7cfbf478d5
Diacritics substitution in prompt ( #7205 )
2023-04-21 14:09:59 +00:00
Alexander Seiler
218f29f296
Correct some typos
2023-04-21 03:51:31 +02:00
Caleb Brose
09e86d0ebf
Fix gh cs ports requiring sudo for privileged port numbers ( #7326 )
2023-04-19 07:00:44 -05:00
Sam Coe
dbc2f05124
Update go-gh to v2 ( #7299 )
...
* Update go-gh
* Update code for go-gh v2
2023-04-16 15:34:23 +10:00
nate smith
cb0d2a8671
linter appeasement
2023-04-10 18:03:13 -07:00
nate smith
d4a8d15a8a
implement multi select support for prompter
2023-04-10 17:37:36 -07:00
Sam Coe
39805fa9b1
Properly handle closing files that have been writen to ( #7199 )
2023-03-23 01:17:47 +00:00
Benjamin Levesque
9596fd5368
Skip checking keyring for token in certain scenarios ( #7169 )
2023-03-18 08:59:43 +11:00
Nate Smith
aae4023cdc
use t.Cleanup(m.Verify)
2023-03-09 16:43:48 -08:00