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
Lin, Hung-Shin
f8254b55c9
Merge pull request #45 from linux-odyssey/quest
...
Add new functions for quest:
* new condition logic `or` & `not`: able to create nested condition
* new condition `files`: checks if a file or folder exists in the container
* not support globbing yet
* send "pending" status when executing story, and set it back after execution
* include completed stage id in command
Dockerfile refactor:
* use multi-staged building
* remove Dockerfile.dev
Container:
* use axios instead of `fetch`
Other improvements:
* deactivate other sessions when creating a new one
* clear terminal on reset
2023-10-30 14:42:34 +08:00
Lin, Hung-Shin
51bf06e2a7
feat: remove wait for enter in dialogue
2023-10-30 14:21:52 +08:00
Lin, Hung-Shin
8782048334
Merge remote-tracking branch 'origin/quest' into quest
2023-10-30 14:00:07 +08:00
Lin, Hung-Shin
8a0512aac8
feat: clear terminal on reset
...
* TODO: have some trailing
2023-10-30 13:58:33 +08:00
Lin, Hung-Shin
0392fe9a65
refactor: separate Terminal instance
2023-10-30 13:55:10 +08:00
CHEN, TAI-LIN
fcebb25b46
Update forgotten_scroll.txt
2023-10-30 13:53:43 +08:00
Lin, Hung-Shin
67c420d69e
Merge pull request #48 from linux-odyssey/ui-revise
...
Fix: Fixed error message color
2023-10-30 13:50:07 +08:00
CHEN, TAI-LIN
f418410d04
Update tailwind.config.js
2023-10-30 13:45:26 +08:00
Chen, Tai-Lin
7c8c4df922
fix: fixed error message color
2023-10-30 13:34:22 +08:00
Lin, Hung-Shin
2285192eac
feat: delete previous container on session creation
2023-10-30 13:31:59 +08:00
wancat
96678a45c3
feat: remove $ from condition field name
2023-10-29 17:42:31 +08:00
wancat
917083ad30
fix: remove debugging console log
2023-10-29 17:42:31 +08:00
wancat
40b6d3cd86
feat: remove testing stages
2023-10-29 17:42:31 +08:00
wancat
d724f97403
feat: add pending signal to status
2023-10-29 17:42:31 +08:00
wancat
aec0cf84ad
feat: include complete stage name in command
2023-10-29 17:41:38 +08:00
wancat
8f22babe7d
feat: sanitize file checks
2023-10-29 17:41:38 +08:00
Lin, Hung-Shin
50b1fe5124
feat: execute files check via docker cli
...
WARNING: possible command injection vunerability.
2023-10-29 17:41:38 +08:00
Lin, Hung-Shin
38f3dbcd65
feat: install docker cli in backend
...
* change the copy order to improve performance
2023-10-29 17:41:38 +08:00
Lin, Hung-Shin
579d53a273
feat: refactor dockerfiles
...
* combine dev and prod into multi-stages dockerfile
* replace node with node:20-alpine to reduce image size
2023-10-29 17:41:38 +08:00
Lin, Hung-Shin
625c1a80da
feat: able to test files
2023-10-29 17:41:38 +08:00
Lin, Hung-Shin
af27780763
feat: buildFileCheckCmd
2023-10-29 17:41:38 +08:00
Lin, Hung-Shin
b7ecfe3980
feat: implement $not and $or condition
2023-10-29 17:41:38 +08:00
Lin, Hung-Shin
e52682686a
fix: load .zshrc in system dir
2023-10-29 17:41:38 +08:00
Chen, Tai-Lin
b4a37f7606
fix: remove order in game schema
2023-10-29 17:41:38 +08:00
Chen, Tai-Lin
f864cecfa4
feat: multi-quest structure
2023-10-29 17:41:38 +08:00
Lin, Hung-Shin
2f64175df2
feat: update quest schema
...
* files
* boolean operator
2023-10-29 17:41:38 +08:00
Chen, Tai-Lin
857e0e7f6a
update: update quests/helloworld
2023-10-29 17:41:38 +08:00
Chen, Tai-Lin
760d00c05d
update: update quest story
2023-10-29 17:41:38 +08:00
Lin, Hung-Shin
fd088a35d0
Merge pull request #46 from linux-odyssey/ui-revise
...
UI revise
2023-10-28 23:05:09 +08:00
Chen, Tai-Lin
9e12657def
fix: modify tree color
2023-10-27 15:58:46 +08:00
Chen, Tai-Lin
ea81f2feb4
fix: hide unimplemented buttons
2023-10-26 15:07:04 +08:00
Chen, Tai-Lin
00fcf353ba
fix: improve game page UI
2023-10-26 14:52:02 +08:00
Chen, Tai-Lin
93d4f9d46b
fix: Improve log-in page UI
2023-10-26 14:52:02 +08:00
Lin, Hung-Shin
c76f877255
Update index.html
2023-10-26 13:13:04 +08:00
Lin, Hung-Shin
87f885b32a
Merge pull request #44 from linux-odyssey/feat-analytics
...
Add analytics script
2023-10-15 07:52:59 +08:00
Lin, Hung-Shin
64596b57dc
Add analytics script
2023-10-15 07:48:05 +08:00
Lin, Hung-Shin
d13d330a83
Merge pull request #43 from linux-odyssey/feat-add-username-hint
...
Add username instruction
2023-10-15 00:32:17 +08:00
Annie Huang
d55bfc54a0
Add username instruction
2023-10-15 00:23:26 +08:00
Lin, Hung-Shin
2513f41515
Merge pull request #42 from linux-odyssey/fix-complete-modal
...
fix: change complete modal title
2023-10-14 23:06:21 +08:00
wancat
6f8d297b04
fix: change complete modal title
2023-10-14 23:04:39 +08:00
wancat
5e1457c007
feat: show modal on quest completing
...
TODO: use setTimeout for now
need to change to capture user's activity in container in the future
2023-10-14 22:52:57 +08:00
wancat
4ad1b865d6
feat: add survey modal ui
2023-10-14 22:44:11 +08:00
Lin, Hung-Shin
0741d3ea53
Merge pull request #34 from linux-odyssey/feat-analytics
...
feat: analytics
2023-10-14 19:50:08 +08:00
wancat
20927fe8aa
feat: docker setup & deployment
2023-10-14 19:43:13 +08:00
wancat
ad08bde4c4
feat: link error command to session detail page
2023-10-14 19:15:24 +08:00
wancat
2257b4b809
feat: session detail page
2023-10-14 19:15:07 +08:00
wancat
a4f1c9fef1
fix: remove debugging log
2023-10-14 18:50:03 +08:00
wancat
4b2f20f384
fix: handle no value cases
2023-10-14 18:43:38 +08:00