Commit Graph
181 Commits
Author SHA1 Message Date
wancat 65bc838c83 feat: update pwd 2023-08-29 16:33:02 +08:00
wancat 6b94b1ae81 fix: merge discovery state (with test)
* update fileNode.toString to add discovery state
2023-08-29 16:28:29 +08:00
wancat f360d783f8 feat: combine ci/cd workflow and add test step 2023-08-29 16:13:59 +08:00
wancat 2bc94a33e2 fix: remove unmaintained test 2023-08-29 15:56:23 +08:00
wancat 3dae9e8552 feat: store graph in session manager 2023-08-29 14:28:09 +08:00
wancat 1c017c98c7 feat: receive discover event and display 2023-08-29 13:52:24 +08:00
wancat 0bdcce5d21 feat: import file-graph package to app
* update docker images
2023-08-29 13:51:55 +08:00
wancat 638dff4be2 refactor: move test scripts to project root 2023-08-29 13:28:36 +08:00
wancat ee7cd083bd feat: handle discover in server 2023-08-29 13:28:18 +08:00
wancat 264d70fe3f feat: add directly discover tests 2023-08-29 13:27:47 +08:00
wancat cfb23347f8 feat: add load nested fileNode 2023-08-29 13:26:14 +08:00
wancat 728399938a feat: update contains and add test cases 2023-08-29 13:16:36 +08:00
wancat 3b8264e39e refactor: refactor commandHandler to class 2023-08-29 12:08:36 +08:00
wancat c3683ddaea feat: import file-graph package
* Update Dockerfile structure, copy quests, packages to sub folder
2023-08-29 11:58:14 +08:00
wancat 6c70a6eaea feat: add box shadow to pwd node 2023-08-28 19:36:38 +08:00
wancat 54592831ee feat: accept graph sent from server 2023-08-28 19:36:38 +08:00
wancat 45813ebbc0 feat: display tree by data
+ show discovered as highlight
+ BREAKING: cannot hightlight lines
2023-08-28 19:36:38 +08:00
Lin, Hung-Shin 9da4d4edaa Merge pull request #19 from lancatlin/file-graph-algorithm
feat: Add file-graph-algorithm
2023-08-28 19:33:59 +08:00
Chen, Tai-Lin 02e1219228 feat: revise fileGraph discover 2023-08-28 17:53:52 +08:00
Chen, Tai-Lin 3c41764f85 Merge branch 'file-graph-algorithm' of https://github.com/lancatlin/linux-odyssey into file-graph-algorithm 2023-08-28 16:17:28 +08:00
Chen, Tai-Lin 190a5abf3c feat: rewrite remove function and add remove test 2023-08-28 16:17:23 +08:00
Chen, Tai-Lin 7f2a57824b feat: rewrite remove function and add remove test 2023-08-28 16:13:10 +08:00
Chen, Tai-Lin 887bbf5c1b Merge branch 'file-graph-algorithm' of https://github.com/lancatlin/linux-odyssey into file-graph-algorithm 2023-08-28 14:39:59 +08:00
Chen, Tai-Lin e73113d376 working: update file-graph-algorithm 2023-08-28 14:39:52 +08:00
Chen, Tai-Lin 7041e89a49 feat: finish file-graph-algorithm (check required) 2023-08-28 14:39:52 +08:00
wancat 1b51346eb9 feat: merge middle part 2023-08-28 14:39:52 +08:00
wancat a66de4dfe1 feat: add merge function
Able to deal with:
1.  merge a subtree
2023-08-28 14:39:52 +08:00
wancat 1778780364 feat: add makeParent options to addChild 2023-08-28 14:39:52 +08:00
wancat 781e01d43a draft: add fileGraph handler draft 2023-08-28 14:39:52 +08:00
wancat 569016077e feat: add error handling for duplicate or not exists 2023-08-28 14:39:52 +08:00
wancat fa496ceae7 feat: create FileNode class, addChild method 2023-08-28 14:39:52 +08:00
Lin, Hung-Shin 10d1a728c6 Merge pull request #21 from lancatlin/fix-zsh-prompt
Fix zsh prompt
2023-08-26 12:42:15 +08:00
wancat b0cc7bb3fb feat: update prompt color 2023-08-26 12:34:36 +08:00
wancat 791a450fdc fix: remove the trailing '%' before prompt
https://github.com/xtermjs/xterm.js/issues/2564
https://unix.stackexchange.com/questions/167582/why-zsh-ends-a-line-with-a-highlighted-percent-symbol
https://zsh.sourceforge.io/Doc/Release/Options.html
2023-08-26 12:14:47 +08:00
Lin, Hung-Shin 0cc2618b8b Merge pull request #20 from lancatlin/fix-mount-at-production
fix: remove mounting at production error
2023-08-26 11:12:58 +08:00
wancat 54e0689d30 fix: remove mounting at production error 2023-08-26 11:11:13 +08:00
Lin, Hung-Shin 98e7f6a9f7 Merge pull request #18 from lancatlin/app-cjk-input
fix: Unicode input in container
2023-08-26 09:31:38 +08:00
Chen, Tai-Lin 821896f292 working: update file-graph-algorithm 2023-08-25 20:05:28 +08:00
wancat 7d594e62db fix: set locale to zh_TW.UTF8 in quest image 2023-08-25 12:07:57 +08:00
Chen, Tai-Lin ab570e9c1b feat: finish file-graph-algorithm (check required) 2023-08-24 15:05:50 +08:00
Lin, Hung-Shin 5da311d9a4 Merge pull request #14 from lancatlin/server-session-manage
* add `status` and `lastActivityAt` field to session
* automatically delete expiry container, mark session as inactive
* default retrieving only active session on `GET /sessions`
* create container on session creation, start container on socket connection
2023-08-24 11:38:02 +08:00
wancat 4e03be9408 fix: disable restart in dev docker compose 2023-08-24 11:36:36 +08:00
wancat 3f50b99d1a fix: not to use 'force' in container deletion 2023-08-24 11:36:24 +08:00
wancat 27f8525585 fix: add missing "error" field in command 2023-08-24 11:35:43 +08:00
Lin, Hung-Shin e5e6d58a6e Merge pull request #16 from lancatlin/fix-dev-dockerfile
fix: dockerfile node access
2023-08-23 23:06:07 +08:00
Annie Huang 0d02b7e1d5 fix: dockerfile node access 2023-08-23 22:42:29 +08:00
Lin, Hung-Shin e417d442e7 Merge pull request #15 from lancatlin/fix-api-url
fix: update dev server api link
2023-08-23 20:37:21 +08:00
wancat 12f73d370e fix: update dev server api link 2023-08-23 20:36:32 +08:00
wancat ad3dd2fb18 fix: default retrieve active session
+ typo 'deactive' -> 'inactive',
2023-08-23 12:27:20 +08:00
wancat 22060070b9 feat: add session expiry deletion script and scheduler 2023-08-23 12:22:15 +08:00