Commit graph

116 commits

Author SHA1 Message Date
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
Alex Ross 1562a35c86
Indent using spaces 🤷‍♀️ (#161405) 2022-09-21 07:41:57 -07:00
Alex Ross 8aa37f3c9b
Add group to copy vscode.dev link in share (#161400)
Part of #157722
2022-09-21 07:03:38 -07:00
Ladislau Szomoru e97b478d06
Commit dropdown button uses text-overflow (#160834) 2022-09-14 20:40:06 +02:00
Ladislau Szomoru 3dc9b8a26c
GitHub - Tweak working of the GitHub publishing welcome view (#160916)
Tweak working of the GitHub publishing welcome view
2022-09-14 10:02:43 -07:00
Ladislau Szomoru df51f5af27
GitHub - Disable command & view in codespaces (#160546)
Disable command & view in codespaces
2022-09-09 11:22:39 -07: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
Joyce Er 65abd2b037
Add icon for Open on vscode.dev command (#158519) 2022-08-18 20:11:41 +02:00
Tyler James Leonhardt d8453c0440
Rev built-in versions of vscode-nls to 5.1.0 (#157530)
* rev version of vscode-nls to 5.1.0

* and yarn lock
2022-08-08 18:43:45 +02:00
Alex Ross 12b08be500
Only use the commit in share link when upstream (#156658)
Fixes #156627
2022-07-29 12:30:05 +02:00
Alex Ross a3b712e04e
Create a insiders.vscode.dev link when I use insiders for sharing (#156436)
Fixes #156255
2022-07-27 10:55:08 -04:00
Joyce Er 73b34320c1
Add ability to continue desktop edit session in vscode.dev 2022-07-15 15:51:51 -07:00
Peng Lyu f9f353c90b
support vscode.dev link generation in notebook editor (#154183)
* support vscode.dev link generation in notebook editor

* Update comments.
2022-07-06 17:53:12 +02:00
Ladislau Szomoru 6624aea0d0
GitHub - Add translation comment not to translate the $(github) codicon (#154269)
* Add translation comment not to translate the $(github) codicon

* Add an additional comment
2022-07-06 08:11:44 -07:00
Alex Ross 48fef0c1da
Share link from File Menu shouldn't include active file (#153911)
Fixes #153537
2022-07-01 15:04:12 +02:00
Alex Ross 1634eaec83
Share link shows with untitled document (#153671)
Fixes #153544
2022-06-29 14:02:34 +02:00
Alex Ross ffe53e8d71
Add a Share menu and a share vscode.dev command (#152765)
* Add a share menu
Fixes #146309

* Add vscod.dev command in github extension

* Make share menu proposed

* Add share submenu into editor context

* Add proposed to editor share menu
2022-06-27 09:56:36 +02:00
Babak K. Shandiz 766743629d
Polish PR template picker (#151415)
* 🔨 Set ignoreFocusOut to true on PR template selection

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🔨 Translate PR template paths to relative in quick pick list

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 💄 Shorten line length

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* ⚗️ Update tests with latest required args

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* ⚗️ Update GitHub extension unit tests

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-06-10 12:54:37 +00:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Isidor Nikolic 96c9311e18
fix github push error handler regex (#151072)
Co-Authored-by: joaomoreno
Closes: #148568
Closes: #143083
Closes: #148326
2022-06-02 08:02:56 +00:00
Joyce Er b9b2862341
Align auth scopes (#151045) 2022-06-01 16:50:05 -07:00
Roj 64e09597f1
Handle multiline commit messages when creating PR (#149426)
- This makes the body of the pull request non-empty when the commit message consists more than one line.
- The GitHub web client fills the body the same way, too, when you create a pull request.
- Some commit messages consist more than one line, like this one, which is giving more detail about the commit, and can be used as a shortcut to not write the same text when opening a pull request and on GitHub.
- Without these changes, the pull request title will be messed up if the commit message is similar to this.

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-05-18 11:13:32 -07:00
susiwen8 3854c3fa8e
fix: close create fork message will create fork (#148438) 2022-05-02 05:49:00 -07:00
João Moreno 3b0b9e95cd
fixes #148326 2022-04-28 14:49:00 +02:00
Tyler Leonhardt 59cdc58ea0
update a few nls files with comments to ensure buttons don't get messed up 2022-04-27 14:26:48 -07:00
100paperkite 931997875e
Fixes #147420 (#147930)
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-04-25 14:36:56 +02:00
Joyce Er 9fed2f7eb3
Enrich Git extension's remote source provider API (#147613)
* Allow custom title in remote source picker

* Include forks in query search results

* Support `RemoteSource.detail`

* Allow showing quickpicks in `getRemoteSources`

* Allow custom placeholder and remote source icons

* Add ability to customize placeholder

* Register and show recently opened sources

* Allow custom remote url labels

* Add a separator label for remote sources

* Update git-base typings

* Make showing recent sources opt in

* Add concept of recent remote source to `RemoteSourceProvider` concept

* Recent sources should be sorted by timestamp

* Pass current query to `getRemoteSources`

* Fix applying query
2022-04-22 07:25:06 -07:00
zz a8097b5607
feat(git): Added remote url type option (#146124)
* feat(git): Added remote url type option

* Modify extension configuration

* Simplified code

Co-authored-by: Joao Moreno <joao.moreno@microsoft.com>
2022-04-05 06:49:50 -07:00
Babak K. Shandiz 7fc55261aa
Ask user to select PR templates when forking a repository (#143733)
* Add getPullRequestTemplates method to discover templates

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Add method to quick pick for PR templates

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Handle possible PR templates

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Remove unnecessary return value assignment

Co-authored-by: João Moreno <mail@joaomoreno.com>

* Change comparison operands' order

Co-authored-by: João Moreno <mail@joaomoreno.com>

* Remove sorting template URIs in pickPullRequestTemplate

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Sort template URIs before showing quick-pick list

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Rename getPullRequestTemplates method to findPullRequestTemplates

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Find Github PR templates in-parallel using readdir/stat

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Export method for visibitliy in tests

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Add tests for Github PR template detection

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Add launcher configration to run Github tests

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 💄

* Replace stat with readDirectory for OS native case sensitivity

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Delete some files to avoid duplicate names on case insensitive envs

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* Exclude deleted files from test case expected result

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

Co-authored-by: João Moreno <mail@joaomoreno.com>
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-04-01 07:07:33 -07:00
Quan Zhuo f3990bfe9b
Fix issue #145134, fetch all repos for authenticated user (#145203)
Signed-off-by: Quan Zhuo <quanzhuo@kylinos.cn>
2022-03-29 15:02:11 +02:00
Robo 32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Robo df645f1450
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Robo 01df559c18
chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Alex Dima 0bf3071972
Fix hygiene 2022-02-04 15:49:50 +01: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
dependabot[bot] d0cf5a848a
Bump node-fetch from 2.6.1 to 2.6.7 in /extensions/github (#141538)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 07:52:39 -08:00
Joao Moreno 06e1a2d4e0
fixes #139631 2022-01-11 20:59:54 +01:00