Commit graph

452 commits

Author SHA1 Message Date
João Moreno dcfe6b3b84
Generate ADMX/ADML policy declaration files from static analysis
Fixes: #148941
2022-05-10 13:17:05 +02:00
Martin Aeschlimann fda5b84d5d
commit in route 2022-05-02 16:12:28 +02:00
Martin Aeschlimann 0c598d076b
darwin server scripts: apply shellcheck 2022-04-25 14:57:47 +02:00
Joao Moreno 882fdd77b2
include policies in win32 2022-04-20 16:34:41 +02:00
Joao Moreno 154ce41f43
rename 2022-04-20 16:23:33 +02:00
Joao Moreno 8627bd2569
add policy admx/adml files 2022-04-20 16:19:38 +02:00
Martin Aeschlimann 7239b78e14
server cli scripts: node not found 2022-03-31 12:22:04 +02:00
Martin Aeschlimann 465cac2c42
Use reallink for all server cli scripts 2022-03-24 15:56:16 +01:00
Raymond Zhao d572d6e9d1
Generate rpm dependencies (#143415)
* Commit non-py files

* Finish porting calculate and merge scripts for rpm

* Switch back to ts, add binaryDir

* Pass in app path

* Trim string before splitting

* Move files, apply PR feedback

* Add deps to exclude and crashpad handler dep

* polish
2022-03-18 13:57:25 +09:00
Martin Aeschlimann 1d05818236
code -server scrip: apply shellcheck 2022-03-16 14:52:27 +01:00
Martin Aeschlimann 5aee6939e2
darwin server script: do not use python. Fixes microsoft/vscode-remote-release#6442 2022-03-16 10:50:35 +01:00
divinity76 84ecd33bbc
Fix error log when launching as root on linux (#137125)
Fix error log when launching as root on linux.
2022-02-10 08:55:47 -08:00
Martin Aeschlimann 884273e35b
code server scripts: use realpath 2022-02-01 17:38:37 +01:00
Robo fc8a61280b
fix: remove python usage in macos cli wrapper (#138582)
Fixes https://github.com/microsoft/vscode/issues/134635
Fixes https://github.com/microsoft/vscode/issues/137954
2022-02-01 07:58:28 -08:00
Martin Aeschlimann d9f91002d4
wsl code: pass SERVERDATAFOLDER 2022-01-24 14:43:43 +01:00
Martin Aeschlimann 3640c1a425
move remote and web tests to scripts folder 2022-01-21 14:33:34 +01:00
Martin Aeschlimann f9cac7c28a
adopt --server-data-dir 2022-01-21 12:11:47 +01:00
Martin Aeschlimann dd0f0bda08
code-server dev script: fix open with connection token 2022-01-20 18:10:31 +01:00
Alex Dima 43d18c529c
Merge remote-tracking branch 'origin/main' into alex/issue-140997 2022-01-20 14:46:08 +01:00
Benjamin Pasero 13461f8c61
Web: change yarn web to run with our server instead of playground (#139725)
* web - first cut `yarn web` via our server

* properly pipe output

* web - remove traces of web playground

* web - remember last opened workspace for convinience

* use vscode-test-web for server less, clean up web commands

* fix comment

* fix `yarn web`

* rename to code-server

* open system browser

* code-server script: use minimist

* test resolver: use ./scripts/code-server

* integartion tests: fix code-server command name

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-01-20 13:48:08 +01:00
Alexandru Dima e5167eb8f2
Fix paths on Windows 2022-01-20 13:36:46 +01:00
Alex Dima 3b5afe84e8
Fixes #140997: Move server entry points to src/ 2022-01-20 09:31:00 +01:00
Daniel Imms 27e5924ff8 Remove from Utility catagory
This was from advice from the Raspberry Pi team as it causes the application to show
up in multiple menus on some desktop managers.
2022-01-13 06:44:24 -08:00
Martin Aeschlimann f4ba7dd12b
server bin cleanup 2022-01-11 16:34:28 +01:00
Alex Dima b2e9a3e2e2
Remove deprecated ways of configuring the web worker extension host iframe src 2021-12-07 14:09:35 +01:00
Benjamin Pasero 7be48d527a
🆙 web playground 2021-11-22 12:17:22 +01:00
Filip Troníček 2e50cac1d4
Merge branch 'main' into ft/fix-136619 2021-11-15 17:44:50 +01:00
Benjamin Pasero bef4dba21f
Parcel update and CI improvements (#136830)
* 🆙 product

* 🆙 parcel/watcher

* 🆙 parcel/watcher

* tests - separate remote logs from others

* store server logs too

* more tweaks

* fix name

* error when 10s passed
2021-11-10 08:13:56 +01:00
Alexandru Dima e08e4d3fe1
Move --ms-enable-electron-run-as-node to a later location (#136786)
* Move `--ms-enable-electron-run-as-node` to a later location, which is not fatal in Electron builds that don't know it

* undo bad change
2021-11-09 15:11:12 -08:00
deepak1556 ac29daaf3b
Fixes #136771: update to Electron v13.5.2 and pass --ms-enable-run-as-node together with ELECTRON_RUN_AS_NODE 2021-11-09 19:09:26 +01:00
Filip Troníček 8535fa1836 rename connectionToken to connection-token 2021-11-07 15:16:56 +00:00
Issam Maghni 0f7982a344
Fix mkdir arguments order (#135182)
When lauching with `env POSIXLY_CORRECT=y code [...]`, VSCode creates two directories named `-m` and `700`. This is because the order of arguments, in a POSIX strict environment, matters.
2021-10-25 14:40:32 +02:00
Alex Dima 4cd2b53b31
Remove unnecessary scripts 2021-10-20 18:48:49 +02:00
Alex Dima 822f995357
Add server folder 2021-10-20 18:42:13 +02:00
Tim Retout 3914b9bda5 Update desktop file cache in Debian package postinst 2021-10-11 23:19:31 +01:00
rjc e7d0b82c56
Fix Description field 2021-10-04 15:53:56 +01:00
Miguel Solorio 17731c3fcc Fix #129480 2021-09-13 16:12:22 -07:00
Benjamin Pasero 2cfe7266c3
🆙 distro 2021-08-27 07:45:20 +02:00
Robo 4fee848f2f
fix: CXXABI requirements for older distros (#129360)
* fix: use clang and libcxx from chromium

* chore: add flags for Link-Time Optimization

libcxx builds from upstream are built with LTO, avoiding these
flags will cause miscompiles

* chore: add lto flags to compilation units
2021-08-06 08:48:45 -07:00
Sandeep Somavarapu 92381bc7c9
do not show settings sync off badge if settings sync is enabled 2021-07-28 14:42:02 +02:00
Sandeep Somavarapu 460d3c40b1
fix yarn web 2021-07-26 15:50:00 +02:00
Sandeep Somavarapu 9aab65c6ee
support editor selection in default layout 2021-07-23 16:15:49 +02:00
Sandeep Somavarapu a7171fdad5
fix logging additional builtin extension ids 2021-07-21 09:12:31 +02:00
Jake Bailey ac6d8c0605 Fix --verbose flag in code-web.js 2021-07-16 12:43:27 -07:00
Brigit Murtaugh cd13f36aee
Update VisualElementsManifest.xml (#127370) 2021-06-28 15:15:00 -07:00
Brigit Murtaugh de931efe6b
Add ShortDisplayName (#127338) 2021-06-28 09:38:35 -07:00
deepak1556 7eae810d8a chore: disable sandbox on snap package
Fixes https://github.com/microsoft/vscode/issues/127081
Refs https://github.com/microsoft/vscode/issues/127140
2021-06-25 19:26:08 +09:00
Robo 92999c339e
fix: setuid helper permission (#126798)
* ci: fix setuid helper binary permission

* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET

* ci: fix chrome-sandbox permission with rpm

* ci: fix permissions on snap

* ci: download electron earlier for arm builds
2021-06-22 08:42:30 -07:00
Benjamin Pasero ad6122b1ea
🆙 web playground 2021-06-17 16:50:24 +02:00
Sandeep Somavarapu 9ce9551a8b
Improvements & clean up
- Deprecate static extensions
- Introduce additional builtin extensions
- Install web extension from location
2021-06-17 15:26:44 +02:00
Sandeep Somavarapu 522faa099d
support gallery extensions as static extensions 2021-06-16 15:18:08 +02:00
Liangcheng Juves e477163586
Add files via upload 2021-06-12 20:00:43 +08:00
Liangcheng Juves e3c4990c67 Merge branch 'microsoft:main' into main 2021-06-09 21:49:04 +08:00
Sandeep Somavarapu 830c739857
Fix settings sync is removing extensions from web.
- Do not use remote data as last sync data for extensions
- Do not use cache and fetch extensions always
2021-06-07 19:51:09 +02:00
Liangcheng Juves 40c391296f
Try to match shape and shadows 2021-05-30 00:04:31 +08:00
Liangcheng Juves 3f638a27b6 Updated "Code - OSS" icon for macOS Big Sur 2021-05-22 16:58:36 +08:00
Benjamin Pasero e2954beb4b
Remove --no-sandbox (#122909)
* linux - remove `--no-sandbox` flag

We should not disable sandbox on Linux.
We only added this to support running on Kernel <= 3.8 where setuid sandbox is used.

* fix ci

* add some docs
2021-05-04 11:18:19 +02:00
João Moreno 973f5d00b4
code-web: /builtin 2021-04-12 15:19:12 +02:00
Daniel Imms 1988caa627
Merge pull request #119160 from alexmyczko/patch-1
Improve debian control description
2021-03-30 06:56:07 -07:00
João Moreno ede3632a56
pimp up workbench-web.html 2021-03-19 15:23:19 +01:00
Daniel Imms a23d2d40f3
Merge pull request #117994 from GitMensch/patch-1
rpm-spec: fix the wrong claim about working on EL7
2021-03-18 06:42:43 -07:00
Alex Myczko 2fbe092c9c
fix long description 50%
This should not be longer than 80 characters/line. The last two lines belong to /usr/share/doc/code/README.Debian

Also it should not start with "Visual Studio Code is" but rather with "This is" 
Please refer to the Debian Developer Manual.
2021-03-17 07:39:26 +01:00
XECDesign 3cca5540aa
Do no install repo on Raspberry Pi OS (#118826)
* Do no install repo on Raspberry Pi OS

* 💄

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2021-03-15 08:53:13 -07:00
Rachel Macfarlane 79e2119c5e Revert "snap: set compression to lzo, #117852 (#118116)"
This reverts commit e22c2be14d.
2021-03-09 10:55:22 -08:00
soredake e22c2be14d
snap: set compression to lzo, #117852 (#118116) 2021-03-08 16:23:35 +01:00
Simon Sobisch 08ceea18aa
rpm-spec: fix the wrong claim about working on EL7
fixes #115784
2021-03-02 21:27:12 +01:00
David Bailey 1da95321b1
RPM: Don't generate build_id links (#116105)
* Don't generate build_id links

* add comment explaining change
2021-02-08 16:07:55 +01:00
Johannes Rieken ee4516a485 always on trusted-types for yarn web, fyi @bpasero 2021-01-28 11:26:50 +01:00
João Moreno c71edb7d88
get marketplace extensions in yarn web 2021-01-21 09:50:36 +01:00
João Moreno f4a0c209be
formatting 2021-01-21 09:50:36 +01:00
João Moreno 09bc6fc64b
Migrate to new deb repo (#114527)
* migrate to new deb repo

* improve deb migration
2021-01-18 14:43:24 +01:00
João Moreno adb037b74d
fixes #114137 2021-01-13 11:11:00 +01:00
Sandeep Somavarapu 7b16f15d00
Merge branch 'master' into list-extensions 2021-01-08 12:01:16 +01:00
Alexandru Dima e6daf34085
Better simulate real-life CORS in code-web server 2020-12-29 23:38:37 +01:00
Elliot Jordan 775bf46bad Adjust references to --list-extensions option 2020-12-18 09:54:56 -08:00
João Moreno 61995eab4a fix linux deb repo pointer 2020-12-10 14:59:33 +01:00
Alexandru Dima 5ee430bf26
Deduce secondary host from the request if possible 2020-12-09 09:12:00 +01:00
João Moreno 4250e343e0 use proper repos for linux arm 2020-12-07 16:15:57 +01:00
Sandeep Somavarapu eb189c703c Fix #111946 2020-12-06 18:53:11 +01:00
João Moreno 3de0ea500a
Merge branch 'joao/snap-arm' 2020-11-25 11:57:38 +01:00
Pablo Sebastian Greco 00eea33b23
More cleanup for armhfp and aarch64 rpm hardcoded dependencies (#111253)
* Adjust hardcoded rpm dependecies for aarch64 to what is minimally available in CentOS7 and CentOS8

* Cleanup some hardcoded rpm dependecies for armv7hl to what is minimally available in CentOS7 and CentOS8, may need more work

Co-authored-by: Pablo Greco <pgreco@centosproject.org>
2020-11-25 09:14:38 +01:00
Pablo Sebastian Greco de85ef3a20
Fix hardcoded rpm dependencies for armv7hl and aarch64 (#111198)
Co-authored-by: Pablo Greco <pgreco@centosproject.org>
2020-11-24 09:59:00 +01:00
João Moreno edf43e529a
build snap packages for linux arm 2020-11-18 10:04:55 +01:00
Alex Dima 796db55744
Remove iframe around web worker in codespace case 2020-11-03 13:55:17 +01:00
Benjamin Pasero f8a7353485 🆙 web playground 2020-10-29 09:38:45 +01:00
Alex Dima b72438c7f3
Don't use data: as the src of the web worker extension host iframe (#108285) 2020-10-21 20:03:54 +02:00
Daniel Imms b0baa3a2d8
Update deps to include libgbm (#107611)
Fixes #106936
2020-10-19 11:47:07 -07:00
Martin Aeschlimann 59df6b40f1 code.sh: Prevent stealing of stdin (for #99815) 2020-10-16 22:45:38 +02:00
Alex Dima 860a9ad652
Make sure to return Access-Control-Allow-Origin header also in error case 2020-09-30 17:51:29 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Sandeep Somavarapu a4a9fcb7dd
Merge branch 'master' into sandy081/web-playground/login 2020-09-15 17:31:42 +02:00
Benjamin Pasero 3c8ed50bdb fix lint
cc @tyriar
2020-09-15 16:36:09 +02:00
Sandeep Somavarapu 52bdeff880 - send auth session
- prepare credentials from auth session
2020-09-13 01:56:02 +02:00
João Moreno bc38b0accb
argh 2020-09-11 13:55:29 +02:00
João Moreno bea7a2334e
fix linux build 2020-09-11 13:13:08 +02:00
João Moreno e75b1a6dcd
Merge branch 'joao/linux-arm' 2020-09-11 12:45:08 +02:00
Benjamin Pasero a46ba1f84c 🆙 web playground 2020-09-11 10:26:43 +02:00
Benjamin Pasero 37a11b4314 try to fix build (linux) 2020-09-11 09:46:20 +02:00
Daniel Imms 65b4134965
Merge pull request #95637 from luqmana/workspace-mimetype
Register mimetype for *.code-workspace
2020-09-09 05:55:27 -07:00
João Moreno 034f6fc5ba
fix rpm 2020-09-08 20:57:07 +02:00