Alex Ross
b09701ac1b
Fix duplicate port forwarding for statically forwarded ports ( #163899 )
...
* Fix duplicate port in view
* Include localhost address when resolving external
2022-10-18 11:08:21 -07:00
Alex Ross
c466c6974a
Comment button blinks while typing sometimes ( #162755 )
...
* WIP fix for #156104
* Comment button blinks while typing sometimes
Fixes #162580
2022-10-05 10:31:54 -07:00
Johannes Rieken
14d1b6f79e
make registerSingleton only accept InstantiationType or false ( #162654 )
...
https://github.com/microsoft/vscode/issues/159178
2022-10-04 14:33:06 +02:00
Benjamin Pasero
e438d4d721
Rename StorageScope.Global to Profile ( #152703 )
...
profile rename
2022-06-21 10:16:50 +02:00
Johannes
0656d21d11
auto-fixed prefer-const violation
2022-06-08 17:49:21 +02:00
Johannes Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
2022-02-02 14:35:33 +01:00
Tim
f12b5b4536
Fix parseAddress regex ( #140977 )
...
The previous regex was not very good and meant that hostnames containing digits and full stops were not accepted. This one should be more accurate. You can test it [here](https://regex101.com/r/ZVItcq/1 ).
Because regex's are completely unreadable here's how it breaks down:
```
^ - Start
( - Hostname group
[a-zA-Z0-9-]+ - First domain component
(?: - Optional subsequent components
\.[a-zA-Z0-9-]+ - Each subsequent component is a . followed by the component
)* - Any number of subsequent components
: - Port separator
)? - Hostname group is optional
([0-9]+) - Port, which is mandator
$ - End
```
2022-01-24 15:01:04 +01:00
Alex Dima
8f185676b7
Move tunnel service to its own folder ( #141154 )
2022-01-21 17:05:51 +01:00
Alex Ross
c393048b98
Move tunnel features ( #140620 )
2022-01-13 12:13:40 +01:00
Alex Ross
d7f4200ec3
Allow dashes in host name in ports view
...
Fixes microsoft/vscode-remote-release#6148
2022-01-12 13:33:43 +01:00
Alex Ross
18e854aa33
Elevate if needed when restoring ports
...
Fixes microsoft/vscode-remote-release#5776
2021-11-04 16:44:45 +01:00
Alex Ross
a2e91a0844
Remove console log
...
Fixes #133725
2021-09-24 13:26:15 +02:00
Alex Ross
a15378a9db
Allow tunnel providers to define port privacy options ( #133677 )
2021-09-23 16:24:51 +02:00
Alex Ross
e971a6bec8
Allow portsAttributes to take a host and port key
...
Part of microsoft/vscode-remote-release#3450
2021-09-01 15:03:46 +02:00
Alex Ross
48d81c8754
Better maintain original tunnel source
2021-06-25 14:43:24 +02:00
Alex Ross
20099087a0
Simplify port forward parameters
2021-06-25 14:43:23 +02:00
Alex Ross
4e067da846
Reset tunnel protocol when setting is deleted
2021-06-25 13:24:50 +02:00
Alex Ross
d6c109bae8
Read correct value when adding port attributes
2021-06-25 13:11:25 +02:00
Alex Ross
c0cf0a12c6
Change protocol to be written to remote settings
2021-06-25 12:03:20 +02:00
Alex Ross
e06e06bdf7
Improve port restore so it happens less often
2021-06-24 09:51:33 +02:00
Alex Ross
63e1edc203
Add openBrowserOnce to portsAttributes
...
Fixes #124160
2021-06-18 14:56:40 +02:00
Alex Ross
a414bf2973
Add protocol to tunnel API
...
Part of #124816
2021-06-17 16:13:54 +02:00
Benjamin Pasero
dc4b317192
dialogs - do not require buttons property
2021-06-03 08:49:30 +02:00
Alex Ross
df709ddd3d
Fix otherPortsAttributes protocol not updating correctly
...
Fixes #125079
2021-06-02 15:57:57 +02:00
Alex Ross
a3bad5878e
Add a protocol property to tunnels
...
that corresponds to the attributes for that tunnel and is reflected in the UI.
2021-06-01 17:54:21 +02:00
Alex Ross
004f6609f8
Fix problems with port protocol
2021-05-28 10:53:03 +02:00
Alex Ross
53b58c89d4
Fix loop in port forwarding
2021-05-19 15:43:15 +02:00
Alex Ross
f113243a51
Close and reopen tunnel when protocol changes
2021-05-18 17:09:39 +02:00
Alex Ross
960af85cd9
Reduce number of calls to get port attributes
2021-05-18 17:02:16 +02:00
Alex Ross
fb9d3f3e50
Fix all ports showing as user forwarded
2021-05-18 16:14:31 +02:00
Alex Ross
0f5ceb2f1d
Add context menu for tunnel protocol
...
Fixes #123750
2021-05-18 15:07:23 +02:00
Alex Ross
e4159c8f89
Add protocol to portsAttributes
...
Part of #123750
2021-05-18 12:55:17 +02:00
Alex Ross
a6db2795e3
Fix elevateIfNeeded port attribute
...
Fixes microsoft/vscode-remote-release#5065
2021-05-17 11:26:29 +02:00
Alex Ross
c8b4656197
Add requireLocalPort property to portsAttributes
...
Fixes microsoft/vscode-remote-release#4958
2021-05-14 16:01:40 +02:00
Alex Ross
27fe7f9dfb
Revert "Add an "always" options to port source setting"
...
This reverts commit 46a2b70583 .
2021-05-10 12:06:11 +02:00
Alex Ross
46a2b70583
Add an "always" options to port source setting
...
Fixes microsoft/vscode-remote-release#4923
2021-05-06 15:04:43 +02:00
Alex Ross
5ef190e98a
Fix port log line and add regex check
2021-04-16 11:25:18 +02:00
Alex Ross
fdbcc90b4f
Fix removal of port label
2021-04-06 14:04:28 +02:00
Alex Ross
2d9069014e
Add a placeholder for already forwarded root ports ( #119792 )
...
when possible
Fixes microsoft/vscode-remote-release#4749
2021-03-24 14:57:12 +01:00
Alex Ross
64381abea9
unconfiguredPortsAttributes -> otherPortsAttributes
...
Fixes microsoft/vscode-remote-release#4732
2021-03-23 15:06:04 +01:00
Alex Ross
b12279b40c
Get correct candidate for checking port attributes providers
2021-03-17 10:06:15 +01:00
Alex Ross
d1e5c8cddf
Fix portsAttributes.unconfigured setting name
...
And fix setting update not read
Fixes #118991
2021-03-16 14:50:48 +01:00
Alex Ross
9426cea171
Ports: service -> application, defaults ->unconfigured
2021-03-16 13:35:38 +01:00
Alex Ross
11b1f937eb
Prioritize port label from setting
...
Fixes microsoft/vscode-remote-release#4542
2021-03-15 14:09:55 +01:00
Alex Ross
8ca6a56d46
Try restoring ports more often
...
Part of microsoft/vscode-remote-release#4551
2021-03-12 15:21:46 +01:00
Alex Ross
0b4915dcea
Change portsAttributes others to be its own setting
2021-03-12 12:56:43 +01:00
Alex Ross
afe0e2b9a7
Fix regex port attributes over applying
2021-03-10 14:47:35 +01:00
Alex Ross
da562fa27c
Add regular expressions and "others" to portsAttributes
...
Fixes microsoft/vscode-remote-release#4623
2021-03-10 14:14:00 +01:00
Alex Ross
06044789bf
API proposal for PortAttributesProvider ( #118446 )
...
Part of #115616
2021-03-08 15:45:32 +01:00
Alex Ross
f80f0d7074
More forwarded ports trace logging
2021-03-03 15:40:43 +01:00