Levi Yan
|
280231a016
|
refactor: change the return value of uploadPublicKey as promise<string>
|
2025-03-12 10:23:31 +08:00 |
|
Levi Yan
|
cf1efabc77
|
add output for storing token and username
|
2025-03-11 21:44:36 +08:00 |
|
Levi Yan
|
fcf93fe3de
|
feat: upload user's ssh public key when user login through 'open with vscode' link
|
2025-03-03 13:22:01 +08:00 |
|
Levi Yan
|
e7bac7991f
|
feat: upload user's ssh public key
|
2025-03-03 13:20:44 +08:00 |
|
Levi Yan
|
ef3629c5c4
|
refactor: 从用户配置中读取域名由getDevstarDomain函数负责
|
2025-03-03 13:15:34 +08:00 |
|
Levi Yan
|
04e34d5129
|
refactor: centralize the code that first opens the project into a single function
|
2025-03-02 23:33:18 +08:00 |
|
Levi Yan
|
b96e318355
|
style: formatting
|
2025-03-02 23:28:29 +08:00 |
|
Levi Yan
|
79309f8a56
|
fix(open with vscode with access token): don't open project after logging
|
2025-02-26 11:04:36 +08:00 |
|
Levi Yan
|
be6520d2cb
|
feat: support link that open with code to carry access token
|
2025-02-26 00:47:00 +08:00 |
|
Levi Yan
|
38d1b98685
|
refactor: revert openRemoteFolder function to member function (not static)
|
2025-02-26 00:43:16 +08:00 |
|
Levi Yan
|
3f791332b3
|
refactor: convert isLogged function to public function
|
2025-02-26 00:37:13 +08:00 |
|
Levi Yan
|
7d21c0df5a
|
feat: open project without logging
|
2025-02-25 11:43:06 +08:00 |
|
Levi Yan
|
04b2d6bcaf
|
refactor: distinguish how to obtain GetCommitId on different operating systems
|
2025-02-21 21:19:34 +08:00 |
|
Levi Yan
|
da5e253763
|
clean: remove unused code
|
2025-02-21 21:17:18 +08:00 |
|
Levi Yan
|
8772074ab2
|
feat: support open with vscode url in devstar web
|
2025-02-19 10:16:46 +08:00 |
|
Levi Yan
|
858e77a19a
|
refactor: convert openRemoteFolder to a static method, and adjust the sort of parameters
|
2025-02-19 09:58:31 +08:00 |
|
Levi Yan
|
a0aee79aba
|
clean: remove useless code
|
2025-01-22 10:27:07 +08:00 |
|
Levi Yan
|
d49ac4cfb6
|
fix: even if the connection is not successful, the host information is stored
|
2025-01-16 02:54:45 +08:00 |
|
Levi Yan
|
04add2b8f1
|
perf: prioritize loading of communication function that require return values
|
2025-01-15 18:22:01 +08:00 |
|
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
|
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
|
185fc8d56e
|
refactor: user can set devstar domain instead of devstar home
|
2024-12-27 13:02:56 +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 |
|
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
|
cb62793537
|
fix: check if received host exists in config file
|
2024-10-30 14:44:10 +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
|
5554ff4fb1
|
perf: adjust the order of command cases in switch by calling frequence
|
2024-10-28 17:02:42 +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
|
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 |
|