Archived
1
0
Commit Graph

318 Commits

Author SHA1 Message Date
Anmol Sethi
2bafbdc32f
ci: Minor fixes for FreeBSD support 2020-12-18 11:52:08 -05:00
Anmol Sethi
de112b15ed
clean.sh: Do not reset lib/vscode
Now that we've moved to the submodule, there is no need to reset changes
in there :)

cc @jsjoeio
2020-12-18 11:52:08 -05:00
Anmol Sethi
65ce3996ac
build: Do not let agent install fail the build
We don't have an agent for FreeBSD right now.
2020-12-18 11:52:08 -05:00
Anmol Sethi
386af14a77
ci/README: Document command used to find stale version 2020-12-18 04:01:25 -05:00
Joe Previte
74d6d5e1e1
fix: remove unnecessary grep line in fmt script 2020-12-17 10:00:32 -07:00
Joe Previte
fdde5a87a5
chore: format lint file 2020-12-16 17:04:49 -07:00
Joe Previte
be97f80d00
fix: add grep -v lib/vscode to git ls-files 2020-12-16 16:56:44 -07:00
Joe Previte
e391f68fcd
docs: update workflow and remove yarn vscode 2020-12-16 11:48:43 -07:00
Joe Previte
5830532726
refactor: remove submodule code from steps scripts 2020-12-16 11:48:02 -07:00
Joe Previte
fcc16e5397
refactor: move vscode.sh to postinstall 2020-12-16 11:47:20 -07:00
Joe Previte
25e6f8414a
feat: remove vscode scripts used with submodule 2020-12-15 15:59:12 -07:00
Joe Previte
faeed81d43
feat: add vscode:clean script 2020-12-15 14:54:07 -07:00
Asher
9fb661d91e
Use patience algorithm for diffs
This should prevent us from generating different diffs and adding noise
to our PRs. Patience seems like a good one; it generated a diff that I
felt was easier to read in the case of the yarn.lock optionator section.
2020-12-15 11:14:56 -06:00
Asher
f8b782bd68
Move ignore-last-opened to ipc.d.ts
This is so it can be used in VS Code. Don't tell anyone but I forgot to
run `yarn ci`.
2020-12-15 11:14:21 -06:00
Joe Previte
cc584f86b9
Merge pull request #2435 from cdr/issue-2328-customize-go-home
cli: add --home flag to customize "Go Home" button
2020-12-15 09:52:39 -07:00
Anmol Sethi
71abff74ec
Revert yarn.lock to master 2020-12-14 16:23:36 -07:00
Joe Previte
b0336e9d50
chore: revert yarn.lock to match master 2020-12-14 16:23:36 -07:00
Joe Previte
c266d4ac68
chore: revert accidental yarnlock changes in patch 2020-12-14 16:23:36 -07:00
Joe Previte
066ce21688
fix: remove unused import in workbench.ts 2020-12-14 16:23:36 -07:00
Joe Previte
77ddac28fe
chore: fix lint issue in patch 2020-12-14 16:23:35 -07:00
Joe Previte
157eeab30c
chore: generate new patch 2020-12-14 16:23:35 -07:00
Anmol Sethi
7e05ca09bb
release-image: Remove unnecessary call to chsh (#2457)
Confused me in #2410, see #2455

debian:10 defaults to bash as $SHELL
2020-12-14 16:22:24 -05:00
Anmol Sethi
32c5ed8a33
release-image: Ignore $DOCKER_USER on restart (#2458)
Closes #2267
2020-12-14 13:57:36 -05:00
Anmol Sethi
eb4864f9a5
Merge pull request #2400 from cdr/HTTP_PROXY-7e1f
Use proxy-agent to support $HTTP_PROXY
2020-12-04 16:12:45 -05:00
Anmol Sethi
a021bf5d35
Fix CI 2020-12-04 13:52:52 -05:00
Anmol Sethi
c15b526eff
vscode: Fix exthost logging
Closes #2364
See #2366

cc @code-asher

My previous commit didn't fix anything but still good to update @coder/logger.
2020-12-04 13:52:52 -05:00
Anmol Sethi
8a3471cbc7
vscode: Fix @coder/logger version
The previously used version seems to be buggy. I was seeing undefined
errors when using a logger.named logger at level info.
2020-12-04 13:51:50 -05:00
Anmol Sethi
ca3af6dd38
vscode/coder.js: Remove unnecessary vs/css and vs/nls args
buildfile.entrypoint ignores all args now and is hard coded to use these
strings as exclude.
2020-12-04 13:51:50 -05:00
Anmol Sethi
9e44dd81ee
vscode: Document argument to extensionHostProcess 2020-12-04 13:51:40 -05:00
Anmol Sethi
6738cff544
media: Improve icon size (#2401)
See https://github.com/cdr/code-server/pull/2383#issuecomment-738024951
2020-12-04 11:31:45 -05:00
Anmol Sethi
691d44d4a8
Use proxy-agent to support $HTTP_PROXY
Closes #124

This works by monkey patching the http and https modules's default agent
at runtime to the one given by the proxy-agent package.
2020-12-04 02:34:43 -05:00
Anmol Sethi
11f53784c5
v3.7.4 2020-12-01 18:50:31 -05:00
Anmol Sethi
ebe4d7ef29
Revamp icons (#2383)
I took our website's SVG favicon and plopped it on a round
white rectangle in Affinity Designer. The I exported it as an SVG and
wrote a script that uses imagemagick to convert to the various sizes and
formats we need.

Closes #2307
2020-11-30 19:11:26 -05:00
Asher
f71d98f95c
Only attach to orphaned terminals (#2382)
Fixes #2356.
2020-11-30 17:31:14 -06:00
Anmol Sethi
261af28f70
vscode: Fixes for linting 2020-11-30 15:39:57 -05:00
Anmol Sethi
0713fa900b
vscode: Fix update check timeouts
Forgot an extra 60 in the check interval and the notification timeout.
Very unfortunate. Check has been allowed every 168 minutes instead of
every week.
2020-11-30 15:30:19 -05:00
Anmol Sethi
cc18175ce3
cli: Add --disable-update-check flag
Closes #2361
2020-11-30 15:30:06 -05:00
Anmol Sethi
27f0f195a8
vscode: Use options.base for update checking
See https://github.com/cdr/code-server/pull/2358#discussion_r529858749
2020-11-30 15:29:53 -05:00
Anmol Sethi
c35d558352
vscode: Reconnect in the background up to 5 seconds
Based on the previous commits by @mgmachado but simplified.

I also changed the threshold to error after a single attempt as the
connection has likely been borked and the user should be in the know if
they couldn't reconnect after 5 seconds.

Closes #1791
2020-11-30 13:59:40 -05:00
Anmol Sethi
8cb4e2c226
vscode: Remove background reconnection fixes from patch
I'll have to manually apply as they are not compatible with the latest
VS Code after rebase anymore.
2020-11-30 13:56:41 -05:00
Machado, Meygha
e5067ba2a9
separate event domain from UI 2020-11-30 13:56:41 -05:00
Machado, Meygha
fa0853dca6
revert reconnect wait times 2020-11-30 13:56:41 -05:00
Machado, Meygha
a898dd34b9
solution with forceDialog for attempt 3 and no change to VisibleProgress class 2020-11-30 13:56:41 -05:00
Machado, Meygha
4eb4375119
one working solution without event suppression 2020-11-30 13:56:41 -05:00
Machado, Meygha
290c533c8e
turn off visibleProgress on ConnectionLost 2020-11-30 13:56:40 -05:00
Machado, Meygha
67e2a99df2
show popup on third attempt 2020-11-30 13:56:40 -05:00
Anmol Sethi
4cb8a32f4c
ci: Fetch vscode node_modules in lint.sh for eslint 2020-11-29 21:05:11 -05:00
Anmol Sethi
833314aae8
vscode: Make eslint pass
I disabled code-layering and code-import-patterns as I don't think we
can make them easily pass as we reference all sorts of code from both
browser and node files. At least not worth the headache now to refactor
everything.
2020-11-27 08:21:44 -05:00
Anmol Sethi
5247878d93
ci: Enable vscode linting
Updates #2359
2020-11-27 08:20:31 -05:00
Asher
ae65c83cbd
Fix exthost error and warn logging (#2366)
Previously anything that wasn't "log" such as "warn" would end up doing
`logger[logger.warn]`. Would have caught this if I hadn't used `any`...

Fixes #2364.
2020-11-26 17:58:34 -05:00