Commit graph

156 commits

Author SHA1 Message Date
Johannes Rieken 09c9d4c293
use enabledApiProposals instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165 2021-11-12 11:05:57 +01:00
Johannes Rieken a4d426a1c2
split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165 2021-11-12 09:48:17 +01:00
Raymond Zhao 023cfc9959
Bump axios 2021-11-11 13:59:22 -08:00
Johannes Rieken 68e819043c
use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken 9254a8cd27
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Logan Ramos 00de6a5f2f
Update telemetry module 2021-11-08 10:00:44 -05:00
Tyler Leonhardt 4d496f61bc
remove keytar fallback in keychain and add a ton more logging to microsoft auth. ref #133201 2021-10-25 11:16:37 -07:00
Joyce Er b97ab80c18
Fix typo in PAT auth flow error message 2021-10-20 16:37:02 -07:00
João Moreno a390f81744
no hack is better hack
Co-authored-by: Tyler <TylerLeonhardt@users.noreply.github.com>
2021-10-11 18:02:36 +02:00
Tyler Leonhardt 5364c56768
include insiders.vscode in nocors 2021-10-08 11:32:28 -07:00
Logan Ramos a4342f3add
Bump telemetry module 2021-10-01 16:52:56 -04:00
Tyler Leonhardt ab184912e6
make sure we splice the sessions if they have the same set of scopes for github authentication 2021-09-23 16:46:31 -07:00
Logan Ramos 282f499c22
Update extension telemetry module 2021-09-23 11:26:57 -04:00
Logan Ramos 420436d4c4
Fix #133493 2021-09-21 13:36:30 -04:00
Sandeep Somavarapu 961c2e353d
remove web extension kind in builtin extensions 2021-09-01 15:09:21 +02:00
Logan Ramos 8dbad73de5
Update built in extensions telemetry 2021-08-27 15:45:42 -04:00
Logan Ramos ecc7fdac90
Bump extension telemetry module 2021-08-27 11:29:48 -04:00
Tyler Leonhardt 520fa49e68
refactor github auth to be a bit simpler. Remove PAT for GitHub auth since Settings Sync doesn't allow for it and add timeout so that GitHub Auth is not stuck. 2021-08-16 16:34:21 -07:00
Logan Ramos da7d76d2ec
Update extension telemetry module 2021-08-10 12:43:41 -04:00
Logan Ramos 6aa5b9226b
Update extension telemetry module 2021-08-09 13:16:08 -04:00
Tyler Leonhardt a8332b75e4
delete extra afterTokenLoad 2021-08-03 16:24:28 -07:00
Tyler Leonhardt 37a8fe959c
no longer call /user to verify tokens 2021-08-03 14:50:07 -07:00
Logan Ramos 9350fa3c9d
Bump telemetry module to fix packaging 2021-08-02 14:29:37 -04:00
Logan Ramos b7a07daa5a
Fix #129727 2021-08-02 13:04:26 -04:00
Logan Ramos 87e0cb1d43
Fix #129474 2021-07-29 11:39:03 -04:00
Logan Ramos c8e6d08e3a
Update to the latest extension module 2021-07-26 13:44:43 -04:00
Tyler Leonhardt c7e45c4fa4
Add a bunch of logging to github-authentication
Co-authored-by: Eric Amodio <eamodio@users.noreply.github.com>
2021-07-23 15:28:06 -07:00
Tyler Leonhardt c1b4cf00b9
update auth extensions to use packageJSON property instead 2021-07-23 11:48:39 -07:00
Tyler Leonhardt 8a4ace6ebf
maintain promise instead in github-auth to ensure the exp service doesn't get created twice 2021-07-23 09:24:40 -07:00
Tyler Leonhardt a8134002cd
lazily load experimentation service in github-authentication 2021-07-23 09:07:41 -07:00
Tyler Leonhardt 54a2e15f6b
remove unused variable 2021-07-22 17:40:13 -07:00
Tyler Leonhardt 3ed425bef9
Rework github authentication extension to make less HTTP requests.
Co-authored-by: Eric Amodio <eamodio@users.noreply.github.com>
2021-07-22 17:25:59 -07:00
VocalTrance 715798221b
Fix typo in github-authentication/github.ts (#129100) 2021-07-21 06:30:45 -07:00
Martin Aeschlimann 7ded90e452
Merge branch 'main' into joh/webpack5 2021-07-09 09:50:10 +02:00
Tyler James Leonhardt 87d692b7bf
Add scopes property to login telemetry (#128261)
* Add scopes property to login telemetry
2021-07-08 21:48:44 -07:00
Martin Aeschlimann 7ebe6a6054
adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
Tyler Leonhardt e09ee35542
add useful readmes for the auth providers fixes #127688 fixes #127689 2021-07-06 15:43:59 -07:00
Tyler Leonhardt 1d1b9961d7
sort scopes on filter for getSessions in the github auth provider. Fixes https://github.com/github/codespaces/issues/3109 2021-06-30 10:15:24 -07:00
Tyler Leonhardt 6b6be7efe1
just return if the acceptedStates don't match fixes #126084 2021-06-28 17:12:06 -07:00
Tyler Leonhardt 4a011b5297
add additional logging around github auth 2021-06-28 16:27:52 -07:00
Kai Maetzel c200dc4909
fix isNoCorsEnvironment (#126718) 2021-06-18 17:36:59 -07:00
Pavel Kulyov cf7c86de97
extensions/github-authentication: fix typo (#126072)
Closes: #125468
2021-06-11 18:45:33 +00:00
Oleg Demchenko 61f34055fa
Auth session API fix (#125792)
* Adjust "provider is not registered" exception behavior

* Process cancellation in GH auth provider

`e.message` is always `undefined`
2021-06-10 20:14:08 +00:00
Matvii Hodovaniuk 67561036cf
Replace map with forEach (#115378)
The callback provided to the map call on this array should return a value, otherwise map will always return an array of undefined values. If the desired behaviour is to just iterate through all elements, then consider using forEach or a for-of loop instead.
2021-06-07 11:01:10 -07:00
Tyler Leonhardt e0c8a76b7a
don't sort scope list. Fixes Microsoft/vscode-pull-request-github#2751 2021-05-27 16:45:59 -07:00
João Moreno 0637663fcf
fix isNoCorsEnvironment 2021-05-27 11:45:12 +02:00
João Moreno 25a12c75c5
use dummy uri 2021-05-19 20:40:07 +02:00
Benjamin Pasero 159479eb5a
Allow to show status bar entries with an id and name (fix #74972) 2021-05-19 14:03:37 +02:00
Kevin Abel 4978a1891e
Implement GitHub Enterprise authn provider (#115940) 2021-05-07 14:13:11 -07:00
Robo bce4d71f64
chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00