Commit Graph

199 Commits

Author SHA1 Message Date
dependabot[bot]
d1d596a1fc Bump @octokit/endpoint, @octokit/graphql and @octokit/rest in /extensions/github (#240838)
Bump @octokit/endpoint, @octokit/graphql and @octokit/rest

Bumps [@octokit/endpoint](https://github.com/octokit/endpoint.js) to 10.1.3 and updates ancestor dependencies [@octokit/endpoint](https://github.com/octokit/endpoint.js), [@octokit/graphql](https://github.com/octokit/graphql.js) and [@octokit/rest](https://github.com/octokit/rest.js). These dependencies need to be updated together.


Updates `@octokit/endpoint` from 7.0.1 to 10.1.3
- [Release notes](https://github.com/octokit/endpoint.js/releases)
- [Commits](https://github.com/octokit/endpoint.js/compare/v7.0.1...v10.1.3)

Updates `@octokit/graphql` from 5.0.5 to 8.2.0
- [Release notes](https://github.com/octokit/graphql.js/releases)
- [Commits](https://github.com/octokit/graphql.js/compare/v5.0.5...v8.2.0)

Updates `@octokit/rest` from 19.0.4 to 21.1.0
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v19.0.4...v21.1.0)

---
updated-dependencies:
- dependency-name: "@octokit/endpoint"
  dependency-type: indirect
- dependency-name: "@octokit/graphql"
  dependency-type: direct:production
- dependency-name: "@octokit/rest"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 11:17:06 +01:00
Ladislau Szomoru
b9cbfa49d8 GitHub - fix event handled (#238676) 2025-01-24 16:05:13 +01:00
Ladislau Szomoru
7667cdd1ed GitHub - add setting to disable avatar resolution (#238270) 2025-01-20 10:32:51 +01:00
Ladislau Szomoru
4b4cd6b702 GitHub - add more logs to avatar resolution (#238266) 2025-01-20 09:46:10 +01:00
Ladislau Szomoru
d64829f052 Git - add avatar to graph hover (#238246) 2025-01-19 21:30:42 +01:00
Ladislau Szomoru
1600fb4c76 GitHub - avatar resolution improvements (#238239)
* Add support for size

* Add support for extracting user id from GitHub no-reply email addresses

* Fix git blame email parsing

* Extrat link into function
2025-01-19 16:44:40 +01:00
Ladislau Szomoru
bb655894c2 GitHub - add "Open on GitHub" action to timeline context menu (#238144) 2025-01-17 09:19:04 -08:00
Ladislau Szomoru
5e399f3069 GitHub - add support for batch avatar query (#238114) 2025-01-17 10:56:49 +01:00
Ladislau Szomoru
abecfae1ec Git - add avatar resolution to git blame editor decoration hover (#238083)
* Initial implementation

* Add logging

* Improve avatar resolution
2025-01-16 21:33:08 +01:00
Ladislau Szomoru
7610cc1d19 Git - 💄 fix history item details provider name (#238045) 2025-01-16 20:25:19 +09:00
Ladislau Szomoru
eaba97f995 Git - extract history item detail provider (#238041)
* Initial refactor of hover commands

* Delete old code for hover commands

* More refactoring
2025-01-16 11:37:27 +01:00
Ladislau Szomoru
57e8c28877 GitHub - link provider for various hovers (#237961)
* Initial implementation

* Refactor code, add link to blame decoration

* Add links to timeline hover

* Saving my work

* Update remote order for "Open on GitHub" action

* Bug fixes

* Add link provider for graph hover

* Rename method
2025-01-15 16:30:43 +01:00
Ladislau Szomoru
4cdae9cc06 GitHub - 💄 extract command strings (#237899) 2025-01-14 15:33:56 +01:00
Ladislau Szomoru
924d7a84bf SCM - Add "Open on GitHub" action to history item hover (#237893) 2025-01-14 15:10:20 +01:00
Ladislau Szomoru
9ee0345b63 Git - fix "Open on GitHub" command (#237832) 2025-01-14 11:45:03 +01:00
Ladislau Szomoru
9bb633aaf7 GitHub - add "Open on GitHub" action to the SCM graph (#237635) 2025-01-10 13:52:01 +01:00
Ladislau Szomoru
dca80ea667 GitHub - add "Open on GitHub" to blame hover (#237514)
* WIP - saving my work

* Refactor hover rendering code
2025-01-08 11:34:54 -08:00
Ladislau Szomoru
1c10a0e551 Git - remove proposed api typings from git/github extensions (#237409) 2025-01-07 17:00:02 +01:00
Logan Ramos
e689b912ba Update telemetry package (#236378) 2024-12-17 20:12:49 +01:00
Ladislau Szomoru
a31ec0d89a GitHub - do not show the "Publish to GitHub" command in an empty workspace (#236234) 2024-12-16 16:39:11 +01:00
Robo
9494a89080 chore: add npmrc to extensions folder (#230214) 2024-10-01 12:43:01 +02:00
Ladislau Szomoru
04d2ba7d90 GitHub - fix welcome message (#228956) 2024-09-18 16:31:52 +02:00
hj
88d7b97c93 chore: rm unreached ignore items when build extensions. (#227906)
chore: rm unreached ignore items when compiling extensions.
2024-09-09 10:32:51 +00:00
Robo
b5a6aa14a8 feat: switch to npm as default package manager (#226927)
* feat: move from yarn to npm

* chore: skip yarn.lock files

* fix: playwright download

* chore: fix compile and hygiene

* chore: bump vsce@2.17.0

Refs 8b49e9dfdf

* test: update results for bat and sh colorizer tests

* fix: add missing lock files for windows

* fix: switch to legacy-peer-deps

* chore: update markdown-it@14.1.0

Refs 737c95a129

esbuild step in extensions-ci-pr was previously using markdown-it
from root which had userland punycode and was able to compile successfully.

* ci: increase pr timeout for windows integration tests

* chore: fix product build

* build: ignore extension dev dependency for rcedit

* build: fix working directory inside container

* build: fix dependency generation

* npm: update dependencies

* ci: use global npmrc

* ci: update cache

* ci: setup global npmrc for private npm auth

* build: fix extension bundling

* chore: sync npm dependencies

* ci: debug env variables for container

* ci: fix win32 cli pipeline

* build: fix npmrc config usage for build/ and remote/ dirs

* fix: windows build

* fix: container builds

* fix: markdown-language-features tests and bundling

```
[03:58:22] Error: Command failed: /Users/demohan/.nvm/versions/node/v20.15.1/bin/node /Users/demohan/github/vscode/extensions/markdown-language-features/esbuild-notebook.js --outputRoot /Users/demohan/github/vscode/.build/extensions/markdown-language-features
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds userland package based on beed9aee2c

* fix: container builds for distro

* chore: update yarn occurrences

* fixup! chore: bump vsce@2.17.0

Uses the closest version to `main` branch that does not
include d3cc84cdec
while still having the fix 8b49e9dfdf

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: throw error when yarn is used for installation

* chore: add review feedback

* chore: switch exec => run where needed

* chore: npm sync dependencies

* fix: markdown-language-features bundling

```
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds missing userland package based on markdown-it/markdown-it@beed9ae,
can be removed once we update markdown-it >= 14.1.0

* ci: rename no-yarn-lock-changes.yml

* chore: sync npm dependencies

* ci: restore no-yarn-lock-changes.yml

We can disable it in a separate PR to keep the required
checks happy and also need workflow edit perms.

* chore: sync npm dependencies

* ci: rebuild cache

* ci: fix no-package-lock-changes.yml

* chore: bump distro

* chore: rm yarn.lock files

* chore: rm yarn.lock files without dependencies

* chore: add vscode-selfhost-import-aid to postinstall dirs

* chore: bump distro
2024-09-06 22:18:02 +09:00
Robo
5216c04428 chore: update to electron 29 (#209818)
* chore: update electron@29.1.0

* chore: update typings to 20.x

* chore: bump electron@29.1.5

* ci: fix crash in compiling extensions-ci

* chore: disable .d.ts check for build/

$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
                ~~~~~~~~~

node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
               ~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@types/chokidar/index.d.ts:21
     1  node_modules/chokidar/types/index.d.ts:8

Refs a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* ci: define LIBCPP_HARDENING_MODE

* ci: fix crash in vscode-web-min-ci

* chore: update rpm deps-list

* chore: bump tree-sitter-typescript@0.20.5

* chore: bump electron@29.3.0

* chore: bump electron@29.3.1

* chore: update rpm deps-list for x86_64

* ci: disable io_uring UV backend on linux

* ci: disable io_uring backend for oss as well

* chore: update typings to 20.x

* ci: add TODO for io_uring workaround

* chore: bump distro

* chore: update preinstall node version checks

* chore: update @types/gulp

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

* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Matt Bierner
52d39c1fa7 Fix high contrast light md images (#205888)
Fixes #203686
2024-02-21 18:00:14 +01:00
Matt Bierner
64cd658cac Disable some share context menus in editor playground (#204566) 2024-02-07 09:05:51 +01:00
Lucas Towers
8182fd55db Fix markdown light and dark mode when using high contrast themes (#203690) 2024-02-01 00:54:32 +00:00
Logan Ramos
9bea1fc96a Bump telemetry package (#197168) 2023-11-01 20:51:03 +01:00
dependabot[bot]
56c3d4cd50 Bump graphql from 16.6.0 to 16.8.1 in /extensions/github (#193721)
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.8.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.8.1)

---
updated-dependencies:
- dependency-name: graphql
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 07:59:12 -07:00
Logan Ramos
cc98e55794 Fix slow telemetry module (#193607) 2023-09-20 20:14:12 +01:00
Logan Ramos
ecb0c80fc1 Bump extension telemetry module (#191237)
* Bump extension telemetry module

* Fix webpack
2023-08-24 12:53:41 -07:00
Robo
ea490e5545 chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
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
Raymond Zhao
5be539a588 Bump semver (#187654) 2023-07-12 01:49:45 +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
Ladislau Szomoru
4a7a02ab9f GitHub - update branchProtection setting default (#187583) 2023-07-11 15:42:07 +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
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