Commit Graph

138 Commits

Author SHA1 Message Date
Levi Yan
96f28a7424 feat: show notification for devstar-home 2025-01-15 15:14:34 +08:00
Levi Yan
4f831a0d5b feat: add communication method without return value that communicate with devstar-home 2025-01-15 15:13:26 +08:00
Levi Yan
5e0848715b release 0.2.5 2025-01-09 18:53:08 +08:00
Levi Yan
bdf708597d fix: cannot execute code --version in windows and linux 2025-01-08 18:36:59 +08:00
Levi Yan
7e470461eb feat: extract the hostname of devstar domain for local SSH key naming 2025-01-07 23:22:06 +08:00
Levi Yan
0643ff8596 update readme 2025-01-01 15:19:33 +08:00
Levi Yan
7d3735ceda release 0.2.4 2024-12-27 13:10:05 +08:00
Levi Yan
185fc8d56e refactor: user can set devstar domain instead of devstar home 2024-12-27 13:02:56 +08:00
Levi Yan
f7b0cbfc4c release 0.2.3 2024-12-27 10:26:33 +08:00
Levi Yan
f731eba7bf fix(home): add sandbox setting for iframe and retain context when hidden for webview 2024-12-27 10:11:22 +08:00
孟宁
e696decaf6 完善开发环境配置 2024-11-24 06:33:09 +00:00
Levi Yan
428bed52c8 Update README 2024-11-13 02:45:10 +08:00
Levi Yan
51b81c981a release 0.2.2 2024-11-13 02:43:30 +08:00
Levi Yan
3188933879 refactor(package.json): update urls of bugs reporting and repository 2024-11-13 02:19:21 +08:00
Levi Yan
27a09a49ab style: tab -> 2 spaces in all typescript files 2024-11-12 19:07:30 +08:00
Levi Yan
97a22b4deb refactor(home): merge content of index.html into webview and enable configuring devstar home url in package.json 2024-11-12 19:01:40 +08:00
Levi Yan
270b36c464 style: tab -> 2 spaces in all html files 2024-11-06 00:30:48 +08:00
Levi Yan
5b886c1409 feat: add alert for deleteing dev container 2024-10-31 13:52:05 +08:00
Levi Yan
cb62793537 fix: check if received host exists in config file 2024-10-30 14:44:10 +08:00
Levi Yan
7f222e6720 refactor: add operation in process which after successfully uploading new created public key 2024-10-28 19:48:25 +08:00
Levi Yan
99e1693573 refactor: open remote folder also need username, port now and change the naming format of host in config 2024-10-28 19:46:26 +08:00
Levi Yan
76d713b4f1 refactor: set encoding type as pkcs1 for node-ssh connect function 2024-10-28 19:10:09 +08:00
Levi Yan
365795fe17 refactor: create private key without passphrase 2024-10-28 19:03:46 +08:00
Levi Yan
d79a4a8243 fix: now ssh connection use use private key instead of the default 2024-10-28 19:02:56 +08:00
Levi Yan
b279860ebe fix: solve the problem that the private key not works when connecting because permission of private key is too open 2024-10-28 18:24:03 +08:00
Levi Yan
98b1ed4a19 fix(devstar home): now only response code is 0 that means successfully delete dev container 2024-10-28 17:14:54 +08:00
Levi Yan
5554ff4fb1 perf: adjust the order of command cases in switch by calling frequence 2024-10-28 17:02:42 +08:00
Levi Yan
d38994f63a feat(devstar home): delete dev container by repo id 2024-10-28 17:01:32 +08:00
Levi Yan
13125c75c7 refactor(devstar home): don't get container's password from backend anymore 2024-10-28 16:45:49 +08:00
Levi Yan
9192a8a618 refactor(devstar home): get workDir information from backend 2024-10-28 16:31:37 +08:00
Levi Yan
0b22c48c5a feat(devstar home): upload new created public key 2024-10-28 16:29:07 +08:00
Levi Yan
6c771121da feat: give machine name to devstar home 2024-10-28 15:52:55 +08:00
Levi Yan
126f800346 feat: create user's ssh key 2024-10-28 14:58:10 +08:00
Levi Yan
4b3868ced2 [WIP] Feat: create/get user public/private key 2024-10-23 18:37:27 +08:00
Levi Yan
1e856694af refactor(User): set user name and user token as member variable 2024-10-23 17:03:11 +08:00
Levi Yan
1816152fa6 refactor(home): extract all processes that set user token to vscode into a function - setUserTokenInVSCode 2024-10-23 16:35:10 +08:00
Levi Yan
1cf46c0597 feat(home): get user name from vscode and set user name into vscode 2024-10-23 16:22:50 +08:00
Levi Yan
f8544e5282 refactor(getUserTokenFromVSCode): separate the verifying process from the function 2024-10-23 14:41:22 +08:00
Levi Yan
bac497fabf refactor: extract the methods about user into class User 2024-10-23 13:45:19 +08:00
Levi Yan
0a31591150 refactor: set null string '' as the null value of user token 2024-10-23 12:54:50 +08:00
Levi Yan
4ded936bf7 fix: sovle the problem that the host isn't unique and store repeat host 2024-10-23 12:38:55 +08:00
Levi Yan
4c3233dbcc style: remove the unuseful comments 2024-10-23 02:00:24 +08:00
Levi Yan
08168dfd3f refactor: abstract and simplify the communication between home page and vscode
* refactor the infertace in index.html
* adapt the change of interface in home page and vscode
2024-10-23 01:58:10 +08:00
Levi Yan
5672003901 feat: get default public key from vscode 2024-10-21 11:40:21 +08:00
Levi Yan
bf0ace5cc4 refactro: firstconnect with key instead of password 2024-10-21 11:39:07 +08:00
Levi Yan
1988adaf94 refactor(getDefaultPublicKey): remove \r and \n character in public key 2024-10-17 19:55:23 +08:00
Levi Yan
428764b8ae feat: getDefaultPublicKey and firstConnect with key
* getDefaultPublicKey make sure that you will get a public key, if it
doesn't exist, create one
* firstConnect with key instead of password
2024-10-17 16:06:28 +08:00
Levi Yan
6921406013 fix: loop calling in getDefaultPublicKey 2024-10-17 13:03:42 +08:00
Levi Yan
c113328524 fix: if both public and private key exists, stop creating new ssh key 2024-10-17 12:17:34 +08:00
Levi Yan
34927df20f feat: ssh default public/key related operation
* if default private/public key exist
* get default private/public key or their path
* create new default SSH key
2024-10-17 12:15:32 +08:00