- Notifications
You must be signed in to change notification settings - Fork4
Commitdf37364
authored
impl: ssh config improvements (#41)
- different header blocks to differentiate between Gateway and Toolboxssh config- different key for Toolbox for workspace usage- honors the `disable autostart` setting in the URI handling- plugin's display name was changed from Coder Toolbox to Coder- adds support for ssh wildcard config, configurable from plugin'sSettings page.- the settings models were reworked because there was too much confusionaround CoderSettings, CoderSettingsState, CoderSettingsService. Lots ofproperties and some models were introduced only to inject data duringtests.- among other issues, test related properties were leaking in thebusiness code and there was no clear definitionbetween the readable and writable interface. With this PR we haveCoderSettingsStore exposing read+write, CoderSettings exposing reads +PluginSettingsStore the underlying persistable store.- the tests control data via an instance of PluginSettingsStore justlike the business code- some of the options that did not make sense to be configurable andwere only used in the tests were removed: - setupCommand - ignoreSetupFailures- two settings are now also exposed and configurable in the UI(previously only from tests): - ssh log dir - ssh extra arguments to the proxy command-resolves#40-resolves#461 parent427e6f1 commitdf37364
File tree
56 files changed
+1188
-972
lines changed- src
- main
- kotlin/com/coder/toolbox
- cli
- sdk
- services
- settings
- store
- util
- views
- resources/localization
- test
- kotlin/com/coder/toolbox
- cli
- sdk
- settings
- util
- resources/fixtures
- inputs
- outputs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
56 files changed
+1188
-972
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
127 | 132 | | |
128 | 133 | | |
129 | 134 | | |
| |||
Lines changed: 21 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| |||
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| 46 | + | |
| 47 | + | |
49 | 48 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 49 | + | |
| 50 | + | |
55 | 51 | | |
56 | 52 | | |
57 | 53 | | |
| |||
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
68 | | - | |
| 64 | + | |
69 | 65 | | |
70 | 66 | | |
71 | 67 | | |
| |||
151 | 147 | | |
152 | 148 | | |
153 | 149 | | |
154 | | - | |
| 150 | + | |
155 | 151 | | |
156 | 152 | | |
157 | 153 | | |
| |||
272 | 268 | | |
273 | 269 | | |
274 | 270 | | |
275 | | - | |
276 | | - | |
277 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
278 | 274 | | |
279 | 275 | | |
280 | 276 | | |
| |||
309 | 305 | | |
310 | 306 | | |
311 | 307 | | |
312 | | - | |
| 308 | + | |
313 | 309 | | |
314 | 310 | | |
315 | 311 | | |
| |||
318 | 314 | | |
319 | 315 | | |
320 | 316 | | |
321 | | - | |
322 | 317 | | |
323 | 318 | | |
324 | 319 | | |
325 | 320 | | |
326 | | - | |
327 | | - | |
| 321 | + | |
| 322 | + | |
328 | 323 | | |
329 | | - | |
| 324 | + | |
330 | 325 | | |
331 | 326 | | |
332 | 327 | | |
| |||
343 | 338 | | |
344 | 339 | | |
345 | 340 | | |
346 | | - | |
347 | | - | |
348 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
349 | 344 | | |
350 | | - | |
| 345 | + | |
351 | 346 | | |
352 | 347 | | |
353 | 348 | | |
| |||
361 | 356 | | |
362 | 357 | | |
363 | 358 | | |
364 | | - | |
| 359 | + | |
365 | 360 | | |
366 | | - | |
| 361 | + | |
367 | 362 | | |
368 | | - | |
| 363 | + | |
369 | 364 | | |
370 | 365 | | |
371 | 366 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
32 | | - | |
33 | | - | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
0 commit comments
Comments
(0)