Commit Graph

3459 Commits

Author SHA1 Message Date
Asher a2ad3d4ff4
Show hidden files by default
Since there is no other way to enable hidden files, it seems better to
enable it by default otherwise there are some folders/files you simply
can never open from the dialog.
2019-05-20 16:08:54 -05:00
Asher 4a29cd1664
Fix human readable byte size when zero 2019-05-20 15:53:06 -05:00
Anmol Sethi 0462a93f11 Expose actions registry (#701) 2019-05-20 14:35:58 -05:00
Asher db39eacfa1
Set NODE_ENV and VERSION when building (#700)
* Set NODE_ENV and VERSION when building

Should fix the version flag not reporting correctly as well as enable
the service worker and prevent the 404 hmr requests again.

* Log env vars

To help make sure it's built correctly when looking at the Travis logs.
2019-05-20 11:02:36 -05:00
Sebastian Duda 91bcbe496b
Fix formatting issue 2019-05-20 08:29:27 +00:00
Asher c020cd2f2c
Don't try to create builtin extensions directory
Since this will be a path in the binary that we don't want to create on
the user's system. I also removed the option to override it; it doesn't
seem like a great idea since you'd always want those builtin extensions.
This way we also don't have to check if the option was passed and only
create it if that was the case.
2019-05-19 19:49:05 -05:00
Asher 81bbfa7fbe
Suppress "disconnected" notification on extension host
This isn't a real error event; we artificially emit it just in case
something waiting to start is listening to the error event in order to
clean up and/or restart.
2019-05-19 19:21:25 -05:00
Asher aa1474b675
Extra extensions directories (#694)
* Allow setting paths for builtin exts and extra dirs

The extra directories aren't used yet, just available from the
environment service and to the shared process.

* Utilize extra builtin extensions path

* Utilize extra extensions directory

* Fix cached mtimes for extra extension dirs

* Simplify extension cache equality check
2019-05-19 17:58:47 -05:00
bastigw 8256252967 Updated Data Directory Flag (#664)
Old Version contained a deprecated flag
2019-05-19 17:26:09 -05:00
Ram 07342bbee7 Remove broken links (#671) 2019-05-19 17:24:57 -05:00
Anmol Sethi 72152f74ab
Fix docker oneliner in README.md 2019-05-02 13:32:05 -04:00
Anmol Sethi 420ca76f54
Merge pull request #635 from cdr/rename
Fix macOS release
2019-05-02 12:23:42 -04:00
Anmol Sethi 31503fc853
Fix macOS release 2019-05-02 12:23:17 -04:00
Anmol Sethi cf399ef6ac
Merge pull request #634 from cdr/rename
Rename codercom/code-server to cdr/code-server
2019-05-02 12:07:48 -04:00
Anmol Sethi bb5836ec61
Rename codercom/code-server to cdr/code-server 2019-05-02 11:25:50 -04:00
Anmol Sethi f36235e03f
Merge pull request #633 from cdr/show-terminal-api
expose terminal service in IDE API
2019-05-02 11:08:23 -04:00
Anmol Sethi 6ef1628acb
Expose Terminal Service in API
Will need in sail.
2019-05-02 10:27:28 -04:00
Anmol Sethi ab8f8a0a22
Merge pull request #520 from nhooyr/volume
Remove chmod on project dir
2019-04-29 19:06:07 -04:00
Asher cdb900aca8
Make preserveEnv return a new object
Modifying the object didn't feel quite right, plus this makes the code a
bit more compact.
2019-04-29 11:49:59 -05:00
Fedor Kalugin 1622fd4152 Preserve environment when forking shared process (#545) 2019-04-29 10:47:45 -05:00
Kyle Carberry 6c972e855f
codercom -> cdr 2019-04-27 16:57:10 -04:00
Kyle Carberry e332882a88
Package only on darwin 2019-04-26 10:51:38 -05:00
Kyle Carberry d0142e2536
Include version with target env 2019-04-26 10:29:12 -04:00
Kyle Carberry e8c8fba91d
Add docker service 2019-04-26 10:00:15 -04:00
Kyle Carberry 01a63a7241
Merge branch 'master' of github.com:codercom/code-server 2019-04-26 09:57:16 -04:00
Kyle Carberry a2e0638c6a
Add support for musl and centos 2019-04-26 09:56:14 -04:00
John McCambridge 4e62f938a9 Remove reveal in finder/explorer option from the context menu (#586) 2019-04-25 15:23:03 -05:00
Asher 4c5bb83fc1
Fix open dialog crash when there is a broken link
Fixes #579.
2019-04-25 15:17:22 -05:00
Asher a3ac4567e3
Only output password if it was generated 2019-04-25 14:08:46 -05:00
Asher 58cf109a83
Fix full screen detection for Chromium 2019-04-25 13:29:11 -05:00
Asher fab45dedcd
Fix toggling full screen 2019-04-25 13:22:30 -05:00
Asher 446573809c
Improve size column in dialogs
- Remove size from directories (often always 4K and not very useful).
- Format file sizes to be more human-readable.
2019-04-25 12:07:35 -05:00
Nick Wade 5ad9398b01 Fix typo DigitalOcean (#595) 2019-04-25 07:57:12 -07:00
Kyle Carberry bcdbd90197 Fix #587 (#588) 2019-04-24 18:34:57 -05:00
Asher 0de7247868
Fix protocol fs test 2019-04-24 18:15:56 -05:00
Asher c9f91e77cd
Fix coping and moving files around using the file tree (#568)
* Implement write/read buffers in electron fill

This makes cutting and copy files from the file tree work.

* Implement fs.createReadStream

This is used by the file tree to copy files.

* Allow passing proxies back from client to server

This makes things like piping streams possible.

* Synchronously bind to proxy events

This eliminates any chance whatsoever of missing events due to binding
too late.

* Make it possible to bind some events on demand

* Add some protocol documentation
2019-04-24 10:38:21 -05:00
John McCambridge 30b8565e2d Fix markdown preview focus (#546)
* Fix hash

* Remove whitespace
2019-04-23 19:14:52 -05:00
John McCambridge 6b887dcc9c Fix no-auth to still use HTTPS, set default for no-auth to false (#573) 2019-04-23 16:38:49 -05:00
John McCambridge 41c7d98b7b Offer https/http url based on schema (#572)
* Let people know when telemetry is disabled, change url to https if secure connection

* Remove --no-auth as a http candidate

* Rename variable, change let to const
2019-04-23 16:38:34 -05:00
Kyle Carberry b055a26dc3
Remove log statement from copy 2019-04-23 11:33:42 -04:00
Kyle Carberry 2bc6e1a457
Fix clipboard pasting 2019-04-22 20:20:48 -04:00
Kyle Carberry e61ea796c6 Bundle grammars (#563) 2019-04-22 12:51:05 -05:00
Kyle Carberry d073622629 Add --socket flag (#564)
* Add --socket flag

* Add msg for already bound socket
2019-04-22 12:47:27 -05:00
Kyle Carberry 5f40ebb845
Update wording for sshcode 2019-04-19 21:22:00 -04:00
Kyle Carberry c56e2797cc
Add sshcode to the readme 2019-04-19 21:20:31 -04:00
Kyle Carberry 166efcb17e Hide titlebar controls and fix menubar toggle (#550) 2019-04-19 19:54:50 -05:00
Kyle Carberry 206e107a9a
Merge branch 'master' of github.com:codercom/code-server 2019-04-19 20:03:54 -04:00
Kyle Carberry 12c8b5d337
Closes #466 2019-04-19 20:03:52 -04:00
Asher 4aa20fd864
Fix require.toUrl on the Node side
- Fixes #542
2019-04-19 13:32:10 -05:00
Illia Poplawski 0cd4e46055 Fix self hosted flags (#523)
* Remove -h flag for help information

* Add tab after removing -h option

* Remove spaces after --user-data-dir option to line up with other menu items
2019-04-18 13:02:29 -05:00