Commit Graph
392 Commits
Author SHA1 Message Date
Lin, Hung-Shin acff4a3f2c Fix re-login error (#60)
* refactor: put all session ref into one reactive store

* fix relogin duplicate signal

* fix: put quest data into store, fix hint reactivity

* fix: duplicate after relogin

* only register listener once
2023-11-12 21:24:01 +08:00
Lin, Hung-Shin 96cdd2b157 Update deployment (#58)
* Update ci_cd.yml

Remove deployment scripts, moved to authorized_keys instead.

* Update docker-compose.prod.yml to always restart
2023-11-12 21:24:01 +08:00
Lin, Hung-Shin 0b8a143a63 feat: put survey and bug report url to backend (#57)
* feat: put survey and bug report url to backend

* fix: centralize hardcoded url to config

* fix: validate url before redirecting
2023-11-12 21:24:01 +08:00
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 00f7a7931f fix: improve quest 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
dependabot[bot] 55d3b01100 build(deps): bump @babel/traverse from 7.22.8 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-12 21:24:01 +08:00
Lin, Hung-Shin 084f8ccffd Update ci_cd.yml 2023-11-12 21:23:41 +08:00
Chen, Tai-Lin 104bf1a6d6 update quest 'helloworld' 2023-11-12 21:23:41 +08:00
Chen, Tai-Lin caf9f55712 fix: improve quest 'helloworld' content 2023-11-12 21:23:41 +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 7917d512f8 feat: specify trust proxies 2023-11-12 21:23:12 +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 3af560bf7a feat: add cypress test script 2023-11-12 21:23:12 +08:00
wancat a953d21c97 feat: setup default secretKey for development 2023-11-12 21:23:12 +08:00
wancat 9abb7f15ba fix: container removal, no secretKey panic 2023-11-12 21:23:12 +08:00
wancat 8e6227d9b4 feat: add validation before creating session 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
Lin, Hung-Shin 040b2a71e5 feat: add validators for username, email, password
* not passed yet
2023-11-12 21:23:12 +08:00
Lin, Hung-Shin 6a64f75950 fix: remove default user 2023-11-12 21:23:12 +08:00
Lin, Hung-Shin f1a50067c5 feat: generate secure secret key and prevent default 2023-11-12 21:23:12 +08:00
wancat 55b61dbcab feat: add get ip endpoint
* rename handler
* change rate limit
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 14b2c1b0d5 feat: add global and session rate limit 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
wancat 610894e6d8 refactor: separate createSession to sessionManager 2023-11-12 21:23:12 +08:00
Lin, Hung-Shin ca68207139 feat: disable global network in player containers 2023-11-12 21:23:12 +08:00
Annie Huang cd7d48b322 Cypress update (not yet for playing game) 2023-11-12 21:15:36 +08:00
Annie Huang 433ced4867 update 2023-11-03 23:51:48 +08:00
Annie Huang 5171cd16fc delete redundant code 2023-11-03 23:50:51 +08:00
Annie Huang e6becf489f add testing needed files to docker 2023-10-30 15:00:30 +08:00
Annie Huang 030b7b749e Update function in command.js 2023-10-30 15:00:30 +08:00