Archived
1
0
Commit Graph

15 Commits

Author SHA1 Message Date
c4c480a068 Implement last opened functionality (#4633)
* Implement last opened functionality

Fixes https://github.com/cdr/code-server/issues/4619

* Fix test temp dirs not being cleaned up

* Mock logger everywhere

This suppresses all the error and debug output we generate which makes
it hard to actually find which test has failed.  It also gives us a
standard way to test logging for the few places we do that.

* Use separate data directories for unit test instances

Exactly as we do for the e2e tests.

* Add integration tests for vscode route

* Make settings use --user-data-dir

Without this test instances step on each other feet and they also
clobber your own non-test settings.

* Make redirects consistent

They will preserve the trailing slash if there is one.

* Remove compilation check

If you do a regular non-watch build there are no compilation stats so
this bricks VS Code in CI when running the unit tests.

I am not sure how best to fix this for the case where you have a build
that has not been packaged yet so I just removed it for now and added a
message to check if VS Code is compiling when in dev mode.

* Update code-server update endpoint name
2021-12-17 13:06:52 -06:00
d8c344beda Refactor vscode endpoints to use fork directly. 2021-09-30 19:14:17 -04:00
cee88ad637 update.ts: Fix response memory leak 2020-12-04 02:34:43 -05:00
be37821ab9 update.ts: Simplify comparison 2020-11-24 12:42:26 -05:00
3f1750cf83 Fix destroying response in update again
I added another reject that doesn't destroy the response.
2020-11-05 15:08:10 -06:00
f4e5855318 Simplify update request 2020-11-03 14:35:23 -06:00
112eda4605 Convert routes to Express 2020-10-26 17:56:13 -05:00
b29346ecdf Implement new structure 2020-02-04 14:31:44 -06:00
e6d1f2a7c8 Update VS Code to 1.41.0 2019-12-16 16:52:29 -06:00
af71203955 Fix relaunching during an update 2019-11-01 10:51:23 -05:00
fc3acfabb2 Fix update check 2019-10-30 17:35:50 -05:00
76f6ff4145 Fix alpine check 2019-10-21 14:09:04 -05:00
bdd11f741b Update to 1.39.2
Also too the opportunity to rewrite the build script since there was a
change in the build steps (mainly how the product JSON is inserted) and
to get the build changes out of the patch. It also no longer relies on
external caching (we'll want to do this within CI instead).
2019-10-18 18:20:02 -05:00
ea9c511db8 Check major version when getting latest version 2019-10-08 16:23:39 -05:00
548d095611 Add support for running extensions in the browser 2019-10-04 18:14:19 -05:00