Commit Graph

154 Commits

Author SHA1 Message Date
Ladislau Szomoru
9979f9cc3c Git - close repository improvements (#184708)
* Initial implementation

* Move ObservableSet into a separate file

* Add quick pick for reopening closed repositories

* Fix issue with initializing the context key

* Add welcome views
2023-06-09 13:19:57 +02:00
Ladislau Szomoru
908b24de44 GitHub - branch protection uses silent auth (#184609) 2023-06-08 17:59:26 +02:00
Joyce Er
0876c19e0a Support language selector and passing selection to share providers (#184196)
* Allow selecting share provider by language

* Pass selections to extension providers
2023-06-02 20:19:32 +02:00
Ladislau Szomoru
e7e97f8ea8 Git - handle --intent-to-add on a renamed resource (#183307) 2023-05-24 13:11:57 +02:00
Joyce Er
9f081fd11a Open branches on vscode.dev from ref picker (#181549) 2023-05-24 11:23:40 +02:00
Ladislau Szomoru
edcad3ab53 GitHub - use GitHub default branch name when publishing to GitHub (#183207) 2023-05-24 11:15:17 +02:00
Joyce Er
bc1090cc10 Initial share provider API and UI (#182999)
* Formalize share provider API

* i18n.resources.json

* Don't introduce a generic Success dialog severity
2023-05-22 15:32:43 -07:00
Joyce Er
0880f76765 Improvements to canonical URI API (#182667)
* Improve API names

* Allow requesting a specific scheme

* Implement ile uri support
2023-05-18 09:23:27 -07:00
Joyce Er
2c5dcb3b81 Allow Continue On between repos with HTTPS and SSH remotes (#182352)
* Deduplicate HTTPS and SSH remote URLs

* Improve doc
2023-05-15 11:37:38 -07:00
Ladislau Szomoru
4182ec739b GitHub - clear branch protection when signing out (#182053) 2023-05-10 06:16:56 -07:00
Ladislau Szomoru
3dd678d2b0 GitHub - update authentication flow for branch protection (#181924)
* GitHub - tweak authentication request

* Add tracing messages
2023-05-09 20:10:00 +02:00
Ladislau Szomoru
a54b497150 GitHub - refactor branch protection (#181880)
* GitHub - rewrite to use GraphQL instead of REST

* Add paging
2023-05-09 13:14:54 +02:00
Ladislau Szomoru
1c59c16f20 GitHub - avoid double prompting when github.branchProtection setting is enabled (#181137) 2023-04-28 08:40:25 -07:00
Joyce Er
180f909fac Avoid double encoding vscode.dev links (#181002) 2023-04-27 08:48:29 +02:00
Ladislau Szomoru
5ea57c3b48 GitHub - leveral repository rules for branch protection (#180416)
* WIP - switching to use repository ruleset information

* Handle includes

* Refactor to add support for exclusion

* Fix exclude condition

* Fix request string

* Add logging

* Update setting description
2023-04-20 16:43:42 +02:00
Ladislau Szomoru
2c7cc4ddea GitHub - do not get branch protection if the user does not have push permission (#179879) 2023-04-13 07:42:12 -07:00
Ladislau Szomoru
f972a31938 GitHub - restore/save branch protection to global state (#179855) 2023-04-13 14:43:12 +02:00
Ladislau Szomoru
45a44d1786 Git/GitHub - Branch protection refactoring (#179848)
Branch protection refactoring
2023-04-13 10:14:33 +01:00
Joyce Er
3cf3ef8897 Encode slash-delimited branch and file segments in links (#179801) 2023-04-12 21:14:24 +02:00
Ladislau Szomoru
bb7570f4f8 GitHub - branch protection provider (#179789)
* Initial implementation

* Update default setting state
2023-04-12 17:42:51 +02:00
Joyce Er
1db062d188 Finalize editor/lineNumber/context menu (#179168) 2023-04-04 23:27:51 +02:00
Joyce Er
602c01b268 Encode filepaths with whitespace in links (#179167) 2023-04-04 23:27:40 +02:00
Joyce Er
eb57ab314b vscode.dev links should be head links (#179074) 2023-04-03 19:48:02 -07:00
Johannes Rieken
1db217a0e2 Revert "Introduce share links in more places via a contrib" (#177328)
Revert "Introduce share links in more places via a contrib (#177311)"

This reverts commit e9ff97aa0f.
2023-03-16 11:27:25 +01:00
Joyce Er
e9ff97aa0f Introduce share links in more places via a contrib (#177311)
* Introduce share links in more places via a contrib

* Update `build/lib/i18n.resources.json`
2023-03-16 09:15:15 +01:00
Joyce Er
9b12df8aaa Always show Copy vscode.dev link in notebook gutter (#176553) 2023-03-08 20:46:19 +01:00
Joyce Er
9c7113f6ae Observe lineNumber if there is no active selection or if the active selection does not contain the specified line number (#176432)
* Observe `lineNumber` if there is no active selection or if the active selection does not contain the specified line number

* Explicit undefined check

* Extract condition into function
2023-03-07 23:23:04 +01:00
Joyce Er
93ac6e0c80 Don't show vscode.dev links on Codespaces (#176287) 2023-03-06 20:38:54 +01:00
Joyce Er
5271145f3f Only show Copy vscode.dev link when line numbers are enabled (#176153)
* Only show `Copy vscode.dev link` when line numbers are enabled

* Fix line endings
2023-03-04 18:58:31 -08:00
Joyce Er
2b44aa50fd vscode.dev links in share and editor gutter menus (#176104) 2023-03-04 06:50:57 +01:00
Joyce Er
720985f2c6 Followup to #175151 (#175291) 2023-02-23 15:29:30 -08:00
Joyce Er
aa9dd05143 Category title for Continue in vscode.dev (#175151) 2023-02-22 10:31:31 -08:00
Joyce Er
234bb7ea58 VS Code for the Web -> vscode.dev (#172473) 2023-01-25 23:41:09 +01:00
Joyce Er
0a6c277e4f Ensure Continue in Web and Continue in Clone appear in remote indicator on desktop git and remote git windows respectively (#172086) 2023-01-24 02:29:20 +01:00
Ladislau Szomoru
78f9b06101 Git - handling git repositories in parent folders (#171726) 2023-01-20 09:10:53 +01:00
Sandeep Somavarapu
5b02e68e42 fix profile import/export in web (#171753)
- move it to configuration-editing extension
2023-01-19 15:13:23 -08:00
Ladislau Szomoru
e37cad47f2 Revert "Git - Improvements to opening git repositories in parent folders (#171617)" (#171662)
This reverts commit fe423bbdba.
2023-01-18 20:57:55 +01:00
Ladislau Szomoru
fe423bbdba Git - Improvements to opening git repositories in parent folders (#171617)
* Initial implementation for external repositories

* Added setting

* Add basic welcome views

* Replaced "Always Open" with "Configure"

* Remove code duplication

* Polish based on feedback

* Language consistency

* Update notification severity

* Move away from the "external repository" terminology

* Refactor notification logic

* Saving my changes

* Further improvements

* Refactor parent repository notification

* Update message and fix edge case when setting is set to `never`
2023-01-18 15:27:58 +01:00
Sandeep Somavarapu
2e74e3c951 fix #167628 (#170110) 2022-12-27 15:28:31 +01:00
Sandeep Somavarapu
f2bcf4c272 fix #167699 (#170108) 2022-12-27 06:02:26 -08:00
Matt Bierner
c390a331c5 Switch to standard imports (#169451) 2022-12-17 00:22:53 +01:00
Matt Bierner
57dd298b47 Add typings for test runner scripts (#169196) 2022-12-15 02:19:24 +01:00
Sandeep Somavarapu
911e119dfc fix #168299 (#168303) 2022-12-07 14:17:58 +01:00
Joyce Er
4357b1c4d3 Surface 1-step vscode.dev Continue On option (#167636) 2022-11-29 22:16:39 +00:00
Ladislau Szomoru
3a52e79cea Git - handle unsafe repositories (#167248) 2022-11-25 14:40:23 +01:00
Sandeep Somavarapu
d65e6e6b2f Fix #167046 (#167230) 2022-11-25 11:19:45 +01:00
Sandeep Somavarapu
e43bf31ab1 Share profiles (#166898)
* Share profiles #159891
- Share profile in GitHub
- Profile resource quick pick
- Import profile from vscode link

* remove duplicate code
2022-11-21 21:03:02 +01:00
Ladislau Szomoru
dff6f568a1 GitHub - fix dialog when user does not have permissions to commit (#166595) 2022-11-17 07:36:54 -08:00
Ladislau Szomoru
f09c4124a2 Engineering - adopt l10n for git-base/git/github extesions (#164566)
Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
2022-10-28 11:27:08 +02:00
Tyler James Leonhardt
29e985eca0 rev vscode-nls to version that doesn't ask for vscode-nls-web-data (#161819)
ref #161297
2022-09-26 11:10:54 -07:00