Commit Graph
115 Commits
Author SHA1 Message Date
CHEN, TAI-LINandLin, Hung-Shin faadcfdeaa fix: ui revise (#56)
* fix: ui revise

* fix: change to v-else

---------

Co-authored-by: Lin, Hung-Shin <wancat@wancat.cc>
2023-11-12 21:24:01 +08:00
Lin, Hung-Shin 4893fbb7fa feat: add bug report url 2023-11-12 21:24:01 +08:00
Chen, Tai-Lin 6ace3d17d1 feat: add bug report button 2023-11-12 21:24:01 +08:00
Chen, Tai-Lin 60784e1dab feat: improve UI and warning on mobile 2023-11-12 21:24:01 +08:00
Chen, Tai-Lin 71f3823234 fix: fix HTML title 2023-11-12 21:24:01 +08:00
Chen, Tai-Lin 2745c685c0 fix: fix space and line break issue 2023-11-12 21:24:01 +08:00
Chen, Tai-Lin b51a31b6f3 fix: add condition describe in AuthForm 2023-11-12 21:24:01 +08:00
Chen, Tai-Lin cf82ed196e update ChooseUsernamePage 2023-11-12 21:24:01 +08:00
Chen, Tai-Lin 94a6f30892 remove catalog draft 2023-11-12 21:24:01 +08:00
Chen, Tai-Lin 597e106f4e feat: add catalog draft 2023-11-12 21:24:01 +08:00
Chen, Tai-Lin 68488ad786 fix: fix line break error in QuestPart 2023-11-12 21:24:01 +08:00
Chen, Tai-Lin 5022e2ee05 refactor: update tailwind configure contant 2023-11-12 21:24:01 +08:00
dependabot[bot] ea88837fde build(deps-dev): bump postcss from 8.4.26 to 8.4.31
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.26 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.26...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-12 21:24:01 +08:00
Lin, Hung-Shin 24b2c22c5c feat: move out env from docker-compose.prod.yml 2023-11-12 21:23:41 +08:00
Lin, Hung-Shin 77fffda1b8 feat: remove username length limit 2023-11-12 21:23:12 +08:00
Lin, Hung-Shin 96de0335f0 feat: refactor frontend auth error handling 2023-11-12 21:23:12 +08:00
wancat 14bde27127 fix: update frontend error handling 2023-11-12 21:23:12 +08:00
wancat cbe7adc3f8 feat: add error handling for choose username 2023-11-12 21:23:12 +08:00
wancat 20225093c6 feat: add rate limit for authentication
* improve error handling in frontend
2023-11-12 21:23:12 +08:00
wancat 265352d8c6 feat: add validation for login 2023-11-12 21:23:12 +08:00
wancat 643813d69d feat: complete register validation
* add password policy in frontend
2023-11-12 21:23:12 +08:00
wancat 1d2ad733ed feat: setup proxy and x-forwarded-for header 2023-11-12 21:23:12 +08:00
wancat ed14491cfc feat: socket error handling
* create a new session when failed to connect to socket
* reset termnal on connect
2023-11-12 21:23:12 +08:00
wancat 2639c0ddda refactor: centralize all variable to sessionManager 2023-11-12 21:23:12 +08:00
wancat 801d1aa07b refactor: add getOrCreateSession to simplify process 2023-11-12 21:23:12 +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 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 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
wancat 917083ad30 fix: remove debugging console log 2023-10-29 17:42:31 +08:00
wancat d724f97403 feat: add pending signal to status 2023-10-29 17:42:31 +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
Chen, Tai-Lin b4a37f7606 fix: remove order in game schema 2023-10-29 17:41:38 +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 64596b57dc Add analytics script 2023-10-15 07:48:05 +08:00
Annie Huang d55bfc54a0 Add username instruction 2023-10-15 00:23:26 +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 5c7acd88ca refactor: reuse AuthForm in ChooseUsernamePage 2023-10-13 17:21:10 +08:00
Lin, Hung-Shin c5ccf03ac5 feat: add username and email check in frontend 2023-10-13 16:38:25 +08:00
Lin, Hung-Shin 30aeacaf06 feat: separate Login and Register Page 2023-10-13 16:13:25 +08:00
wancat 182fcf643f feat: pick username
* put new registered social login user to session data
* ask to choose username
* simplify checkUsername functions
2023-10-13 00:05:59 +08:00
Annie Huang 3da0afb356 Fix ui spelling 2023-10-12 16:18:58 +08:00