Commit Graph
66 Commits
Author SHA1 Message Date
neilchen0812 66b0b7ba68 feat: support changing quest language 2026-10-08 02:46:44 +10:30
Justin Lin 156abc044a refactor: clean up unused code 2025-05-05 19:55:40 +08:00
Justin Lin 5e81db2759 feat: connect terminal service to backend
feat: put terminal service into container

refactor: separate main into terminal and websocket

feat: create zsh using commander in home

feat: pass backendUrl to container

feat: pass token to ws server to cmd-hook

feat: gen terminal access token for frontend

feat: success to connect through traefik

fix: handle invalid jwt

feat: connect to session container via traefik
2025-05-05 19:53:33 +08:00
Justin Lin 0b08a9a5d9 feat: init cmd-hook and move terminal-service to services directory
feat: put cmd-hook in container

feat: cmd-hook request type, auto restart setup

feat: handle ls
2025-05-05 19:51:06 +08:00
Justin Lin f0a09ac4d9 Feat filegraph (#194)
* feat: update filegraph on touch command

* feat: update filegraph on mkdir

* feat: add different parsing opts for each command

* refactor: replace axios with fetch. put handleCommand to a new file

* feat: add config for mounting cli in dev stage

* refactor: clean up unused validators

* feat: add command handler for copy files. reuse resolvePath function

* feat: add rm handler, support specific files deletion. Glob not supported yet

* feat: handle discover cases that the folder is actually empty

* feat: handle discover empty folder better and support rmdir

* feat: handle mv command

* refactor: remove unused console logs
2025-04-29 20:40:02 +08:00
Justin Lin 9498bb77ef fix: linting 2025-04-26 17:02:47 +08:00
Justin Lin f7860c6197 fix: update CLIFileExistenceChecker to accept containerId in constructor 2025-04-26 11:09:10 +08:00
Justin Lin 87b8ca5d04 wip: replace packages with pure files 2025-04-24 23:20:40 +08:00
Justin Lin cdd22634e0 refactor: replace "folder" with "directory" across file handling components and tests 2025-04-24 21:24:55 +08:00
Justin Lin 1616f62755 wip: migrate backend to new game package 2025-04-21 22:40:11 +08:00
Justin Lin 9e44ebe415 fix: remove unwanted error logging 2024-12-27 20:56:23 +08:00
Justin Lin 5cf375905d feat: remove debug logs 2024-10-21 12:12:52 +08:00
Justin Lin 44ecd3b87a fix: mounting quest home into production container 2024-10-21 12:11:24 +08:00
Justin Lin 1888781a47 fix: copy entrypoint into quest container. Disable mounting for entrypoint & public key. Use Env to pass ssh public key into container. 2024-10-21 11:54:32 +08:00
Justin Lin b449d84c54 feat: auto create config folder and player network 2024-10-16 14:13:41 +08:00
Justin Lin 91ebaec22c feat: update document and remove some debug logging 2024-10-14 18:32:02 +08:00
Justin Lin 31301419ad feat: add ssh connection retry 2024-10-14 17:31:35 +08:00
Justin Lin a4ed4cf533 feat: remove unnecessary quest Dockerfiles 2024-10-14 12:40:53 +08:00
Justin Lin 247f03b71a feat: mount quest home to /etc/skel to prevent building images 2024-10-14 12:30:28 +08:00
Justin Lin be22a121c8 feat: use entrypoint to create user account and copy ssh key 2024-10-14 12:06:05 +08:00
Justin Lin 261c6fc029 feat: generate key pair using ssh2 for right public key format 2024-10-14 11:34:53 +08:00
Justin Lin 2a3429106c feat: remove welcome banner 2024-10-13 16:31:17 +08:00
Justin Lin a6720cfe39 feat: connect through ssh 2024-10-13 15:59:01 +08:00
Justin Lin 4c292fd6ba wip: allow connection from docker container 2024-10-13 15:05:20 +08:00
Justin Lin 19897e607f wip: connect container through ssh 2024-10-10 20:54:42 +08:00
Justin Lin 98f18627e5 feat: mount quest 2024-10-10 17:21:38 +08:00
wancat 218d433c14 fix: remove unused logging 2024-06-28 16:05:45 +08:00
wancat 4ab3096fa5 refactor: fix file condition checks 2024-02-19 18:35:39 +08:00
wancat 64215d3ef1 refactor: container 2024-02-19 18:23:52 +08:00
wancat ec4e97a7d6 able to run server without in docker 2024-02-05 12:41:07 +08:00
Lin, Hung-Shin 27c5794700 fix: no response when buildImage 2023-12-20 13:31:08 +08:00
Lin, Hung-Shin 6cd348433a feat: display code block in terminal to different color 2023-11-27 00:10:41 +08:00
Lin, Hung-Shin 28cd2a7ac7 fix: change build:quests output to console 2023-11-22 12:49:47 +08:00
Lin, Hung-Shin 21ca083628 Merge branch 'main' into quest-file 2023-11-22 11:39:24 +08:00
Lin, Hung-Shin 3cebcddc91 fix: expiryCheck error handling 2023-11-22 11:26:03 +08:00
Lin, Hung-Shin 2c4bd67996 fix: mount quest function 2023-11-22 10:40:15 +08:00
Annie Huang 7320688827 fix: display format, docker parsejson, hint title 2023-11-21 22:53:43 +08:00
Lin, Hung-Shin a4a261291d Merge branch 'main' into feat-translate-ch 2023-11-21 22:28:57 +08:00
Annie 364cda39ad fix eslint problems 2023-11-21 14:42:36 +08:00
Annie 869f01a62b Add check chtext element and ids,fix quest problem 2023-11-21 12:56:15 +08:00
Lin, Hung-Shin 82d1004ecf wip: removing console log 2023-11-20 14:59:14 +08:00
wancat f9e0fade3b fix: update quest image name 2023-11-18 22:25:05 +08:00
wancat cd22988a49 feat: limit networking and memory during build 2023-11-16 21:11:32 +08:00
wancat 7b1591a6e3 feat: add build qeust images script 2023-11-16 20:49:54 +08:00
wancat 8bbd5da513 feat: load create session by quest image 2023-11-16 19:48:22 +08:00
wancat c008f82cb0 fix: container removal, no secretKey panic 2023-11-01 23:09:39 +08:00
wancat 11bc793b12 refactor: separate createSession to sessionManager 2023-10-30 22:10:25 +08:00
Lin, Hung-Shin 7843020524 feat: disable global network in player containers 2023-10-30 21:28:10 +08:00
wancat 917083ad30 fix: remove debugging console log 2023-10-29 17:42:31 +08:00
wancat 8f22babe7d feat: sanitize file checks 2023-10-29 17:41:38 +08:00