Commit Graph
144 Commits
Author SHA1 Message Date
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
Chen, Tai-Lin 821896f292 working: update file-graph-algorithm 2023-08-25 20:05:28 +08:00
Chen, Tai-Lin ab570e9c1b feat: finish file-graph-algorithm (check required) 2023-08-24 15:05:50 +08:00
Lin, Hung-Shin bdb979e608 Merge pull request #12 from lancatlin/deployment
Deployment frontend
2023-08-23 10:58:59 +08:00
wancat 268f9fe4b1 feat: add eslint workflow 2023-08-23 10:56:21 +08:00
wancat 280e246430 feat: build backend, frontend, and quest images in workflow 2023-08-23 10:50:31 +08:00
Lin, Hung-Shin abaae9ab6a Merge pull request #13 from lancatlin/app-neil
Add tree chart and drag to scroll function in visualisation section
2023-08-23 07:54:53 +08:00
wancat e644920593 fix: error handling for quest title 2023-08-22 20:51:33 +08:00
CHEN, TAI-LIN 34f5d897d0 Update QuestPart.vue 2023-08-22 20:43:11 +08:00
CHEN, TAI-LIN 06f5654ad1 Update QuestPart.vue 2023-08-22 20:34:16 +08:00
CHEN, TAI-LINandLin, Hung-Shin 7f41a46b23 Update app/src/components/QuestPart.vue
Co-authored-by: Lin, Hung-Shin <wancat@wancat.cc>
2023-08-22 19:43:53 +08:00
wancat 4b3a80608c fix: remove hard coded project path
+ pass host_pwd using docker compose
+ mount it only when provided
2023-08-22 16:05:06 +08:00
wancat cf5b761f3f feat: collect docker scripts into one file 2023-08-22 15:49:21 +08:00
Chen, Tai-Lin 57c24eb693 Modify tree chart 2023-08-22 14:38:36 +08:00
Chen, Tai-Lin ab3014bf4b Add tree chart and drag to scroll function 2023-08-22 14:32:15 +08:00
Lin, Hung-Shin eeb30d1f7a fix: Update README.md typo 2023-08-22 12:17:47 +08:00
wancat d8f8605df9 fix: deployment
+ include api-docs in nginx
+ include quests in docker compose
+ update README
2023-08-22 12:11:58 +08:00
wancat 9aa9367f9e refactor: move quests out of server
+ move quests from server/quests to ./quests
+ add frontend image in docker compose development
2023-08-22 11:48:44 +08:00
wancat e54ae32960 feat: add frontend nginx image 2023-08-22 11:16:37 +08:00
wancat 4255eb5910 feat: merge middle part 2023-08-21 22:22:01 +08:00
wancat 7405f786a0 feat: add merge function
Able to deal with:
1.  merge a subtree
2023-08-21 22:22:01 +08:00
wancat fd26be5e64 feat: add makeParent options to addChild 2023-08-21 22:22:01 +08:00
wancat ba610a3fc5 draft: add fileGraph handler draft 2023-08-21 22:22:01 +08:00
wancat 5a1fc6499a feat: add error handling for duplicate or not exists 2023-08-21 22:22:01 +08:00
wancat 9b78f0d41c feat: create FileNode class, addChild method 2023-08-21 22:22:01 +08:00
Lin, Hung-Shin fcaa088a31 Merge pull request #11 from lancatlin/server-socket-graph
New features:
1. collect 2 levels file list when user type 'ls' in container
2. send the file graph event via socket

Breaking changes:
1. change the channel of terminal connection from 'message' to 'terminal'
3. move client.js to standalone package packages/client
4. change frontend api to call the same origin instead, setup vite proxy for developement. (Now it's localhost on default cuz the server updates includes in this PR as well)
2023-08-21 22:14:06 +08:00
wancat 9facfa31d0 fix: remove unused experiment file 2023-08-21 22:11:38 +08:00
wancat aba582a737 doc: update README to add app and app:local instruction 2023-08-21 21:01:18 +08:00
wancat d86aa5bcc1 fix: use environment to select API_ENDPOINT 2023-08-21 20:59:35 +08:00
wancat c248004484 feat: add Vite proxy, change terminal to other channel 2023-08-21 20:40:05 +08:00
wancat c3e735b627 fix: unset variable after execution 2023-08-21 20:40:05 +08:00
wancat f08ee333a7 feat: push new pwd when 'cd' 2023-08-21 20:40:05 +08:00
wancat 096b7a7714 feat: push discover event to frontend 2023-08-21 20:40:05 +08:00
wancat c0186c6a30 feat: show hiddenFiles 2023-08-21 20:40:05 +08:00
wancat f43fa1b5ef fix: limit 2 level to only 5 children 2023-08-21 20:40:05 +08:00
wancat 34d5ace664 feat: use minimist to refactor cli 2023-08-21 20:40:05 +08:00
wancat 6ace18475b refactor: move client to sperate packages, rename cli to container 2023-08-21 20:40:05 +08:00
wancat 41a12c9aa8 feat: collect 2 level files info when ls
* change cli dir to /usr/local/lib/cli
* refactor cli to multiple files
* add handleCommand and listeners pattern
2023-08-21 20:40:05 +08:00