Commit Graph

117 Commits

Author SHA1 Message Date
Joyce Er
1d96980398 Don't prompt to publish branch after it was pushed (#188166) 2023-07-18 17:22:35 +02:00
Ladislau Szomoru
ad395686d2 Git - add support for type changed (#187714)
* Initial implementation

* Add icons
2023-07-12 16:18:38 +02:00
Ladislau Szomoru
0af4ba0b54 GitHub - add branch protection telemetry (#187589) 2023-07-11 16:51:09 -04:00
Ladislau Szomoru
dca0fc0fd7 GitHub - do not clear branch protection if the user is not signed in (#187588) 2023-07-11 16:18:06 +02:00
Joyce Er
52b72a22f9 Share > Copy vscode.dev Link polish (#186576)
* Prompt when copying link and behind remote

* Make dialog actions explicit re: copy behavior
2023-06-28 16:43:18 -07:00
Joyce Er
0078c4965d Allow Continue On to vscode.dev with no active editor (#186459) 2023-06-27 18:58:37 -07:00
Joyce Er
b114662b7a Don't validate publish state for Continue On (#186410) 2023-06-27 11:50:52 -07:00
Joyce Er
31478cefc5 Ask user to commit/push changes when copying links (#185802)
* Ask user to commit/push changes when copying links

* Don't show an error message for cancellation errors
2023-06-22 00:28:32 +02:00
Ladislau Szomoru
8f8848433b GitHub - add push error handler telemetry to understand usage (#185573)
* GitHub - add push error handler telemetry to understand usage

* Add yarn.lock file

* Pull request feedback
2023-06-19 10:09:45 -07:00
Ladislau Szomoru
4a395962a6 GitHub - basic handling of push errors due to GHAS push protection (#185344) 2023-06-16 17:10: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
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
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
2b44aa50fd vscode.dev links in share and editor gutter menus (#176104) 2023-03-04 06:50:57 +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
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
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
Ladislau Szomoru
e97b478d06 Commit dropdown button uses text-overflow (#160834) 2022-09-14 20:40:06 +02:00
Ladislau Szomoru
52223728f8 Git - Add the ability to commit and not execute a post-commit command (#160527)
Add the ability to commit and not execute a post-commit command
2022-09-09 14:58:38 +02:00
Ladislau Szomoru
f285179711 GitHub - publish repository (#160348) 2022-09-08 00:29:58 -07:00
Joyce Er
9b994545f1 Generate head links for Continue Edit Session (#159833) 2022-09-02 16:32:48 +10:00
Alex Ross
12b08be500 Only use the commit in share link when upstream (#156658)
Fixes #156627
2022-07-29 12:30:05 +02:00