165 Commits

Author SHA1 Message Date
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
Levi Yan
cad2a7a6f4 reafctor: extract domain name of devstar home page as a global variable 2024-10-15 19:35:15 +08:00
Levi Yan
cdb6c425e5 refactor: add error processing for first connecting remote container 2024-10-15 17:13:58 +08:00
Levi Yan
2b0875d0a8 Update README 2024-10-13 20:28:05 +08:00
Levi Yan
8cc15e7cbd upload home and index page 2024-10-12 11:38:28 +08:00
Levi Yan
535ede85ee upload webpage that used to embed devstar webpage 2024-10-01 11:58:55 +08:00
Levi Yan
f854fb3599 add developer manual doc 2024-09-26 12:26:17 +08:00
Levi Yan
b9bff6be37 add user manual doc 2024-09-26 12:25:57 +08:00
Levi Yan
ea28ef08b7 feat: add userToken related operations 2024-09-18 20:46:25 +08:00
Levi Yan
021c1bc1ab feat: add devcontainer config 2024-09-18 20:43:33 +08:00
Levi Yan
5c81f631d9 Update readme 2024-09-18 20:42:52 +08:00
Levi Yan
f164a3dfed refactor: treat fetch as public utils function 2024-09-18 13:53:31 +08:00
Levi Yan
1c2486b972 refactor: clean the old name-superide 2024-09-18 13:52:19 +08:00
Levi Yan
da531a361a feat: install vscode-server and devstar in remote container when first connecting 2024-08-22 11:53:39 +08:00
Levi Yan
4a5925219e release 0.2.1 2024-08-22 11:53:28 +08:00
Levi Yan
0d74a12e3c feat(utils): get vscode version message - commit id 2024-08-22 11:48:02 +08:00
Levi Yan
2e1a0d6a65 change icon 2024-07-31 10:49:01 +08:00
Levi Yan
0f0e336160 feat(utils): sleep function
a small debug tool
2024-07-30 23:35:52 +08:00
Levi Yan
3b7cf8af57 refactor: only successfully finished first connect then open remote folder 2024-07-30 23:35:08 +08:00
Levi Yan
9b95f6376c refactor: use new icon 2024-07-30 19:45:46 +08:00
Levi Yan
a0ecb6c559 refactor: rename the project as devstar 2024-07-16 23:28:56 +08:00
Levi Yan
e4a9d125cd refactor: comment the unused item 2024-07-16 17:40:31 +08:00
Levi Yan
b2533bb1c9 feat: monitor the requests that open remote folder from the front 2024-07-16 17:37:42 +08:00
Levi Yan
a66a1d8838 Merge branch 'master' of gitee.com:SuperIDE/superide 2024-07-16 17:34:16 +08:00