Commit Graph

33 Commits

Author SHA1 Message Date
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
1cf46c0597 feat(home): get user name from vscode and set user name into vscode 2024-10-23 16:22:50 +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
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
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
cdb6c425e5 refactor: add error processing for first connecting remote container 2024-10-15 17:13:58 +08:00
Levi Yan
535ede85ee upload webpage that used to embed devstar webpage 2024-10-01 11:58:55 +08:00
Levi Yan
ea28ef08b7 feat: add userToken related operations 2024-09-18 20:46:25 +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
0d74a12e3c feat(utils): get vscode version message - commit id 2024-08-22 11:48:02 +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
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
61b79b7f74 refactor: separate the functions that connect container and first conect container 2024-07-16 17:32:41 +08:00
Levi Yan
22b24f1561 feat: add fetch module to support getting web content 2024-07-11 11:31:29 +08:00
Levi Yan
fed0b5ddad refactor: add siHome into context.subscriptions 2024-07-03 11:55:49 +08:00
Levi Yan
fd9fe52529 refactor: convert js to ts 2024-07-02 12:15:39 +08:00
Levi Yan
4afa0ccccc feat: connect remote container and showHome 2024-07-01 12:25:28 +08:00
Levi Yan
95b7e3b32d build the structure of the extension 2024-06-27 01:20:37 +08:00