Commit Graph
424 Commits
Author SHA1 Message Date
wancat 81581c4635 BREAKING: change user social login schema 2023-11-18 16:29:37 +08:00
Lin, Hung-Shin 9e935b320a Feat build quests (#65)
Feat build quests
2023-11-17 15:16:34 +08:00
Chen, Tai-Lin 0ac1dbed96 Merge branch 'main' into feat-build-quests 2023-11-17 15:12:32 +08:00
Lin, Hung-Shin 6735c9e9da Feat automation test (#63)
Add cypress automation tests

- Verify Login and Register UI
- Verify Game Starting UI
- Verify Game Play
- Add global commands: Login with Password, Prepare for Game, Type
Command, Wait until active, Check pending
- Add .sh file for entering command
- Add .env loading in config
- Removed login using Google and GitHub
2023-11-17 14:07:02 +08:00
wancat 0e3b3cca11 fix: remove tear down step 2023-11-17 13:57:56 +08:00
wancat 535fef247f fix: fix login failure by NODE_ENV=developement 2023-11-17 13:46:42 +08:00
Lin, Hung-Shin 8827446b71 fix: add longer timeout for getting xterm 2023-11-17 11:50:04 +08:00
Lin, Hung-Shin e6de58d2ee fix: include quests data in cypress image 2023-11-17 11:41:38 +08:00
Lin, Hung-Shin 387f577ae1 fix: rename setupTest 2023-11-17 11:41:33 +08:00
Lin, Hung-Shin 9193b9518a fix: handle frontend error 2023-11-17 11:41:09 +08:00
Lin, Hung-Shin ca057a657b feat: disable rate limits when testing 2023-11-17 11:27:48 +08:00
Lin, Hung-Shin d0c01fffa8 fix: enhance error handling in frontend 2023-11-17 11:18:14 +08:00
Lin, Hung-Shin 1f77328362 feat: add testing setup in backend 2023-11-17 10:59:47 +08:00
Lin, Hung-Shin cb376caff0 Merge branch 'main' into feat-automation-test 2023-11-17 09:43:26 +08:00
wancat c438756bde feat: update CI/CD work, compose, and README 2023-11-16 21:13:18 +08:00
wancat cd22988a49 feat: limit networking and memory during build 2023-11-16 21:11:32 +08:00
wancat 7b1591a6e3 feat: add build qeust images script 2023-11-16 20:49:54 +08:00
wancat 8bbd5da513 feat: load create session by quest image 2023-11-16 19:48:22 +08:00
Annie Huang 5a90b26af6 add new command(not yet finish loop enter command) 2023-11-16 15:01:36 +08:00
Lin, Hung-Shin 4d408333b7 Feat Multi-Quest support (#61) 2023-11-15 14:01:32 +08:00
wancat 92181d960f feat: check if a quest is unlocked before creating session 2023-11-14 10:45:24 +08:00
wancat c2dac8d385 fix: wrap all async controller with error handler
* add validations to newCommand
2023-11-14 10:45:24 +08:00
wancat 1af85651b8 fix: enhance error handling for frontend session 2023-11-14 10:45:24 +08:00
wancat d0e2a4125d feat: add vue-toastification for alerting 2023-11-14 10:45:24 +08:00
wancat 2d0fffc8f4 fix: update backend socket error handling 2023-11-14 10:44:52 +08:00
wancat 4ee88fe7ba feat: add requirements in quest list api 2023-11-14 10:44:52 +08:00
wancat f973982ec4 feat: use dynamic route to select quest (no error handling yet) 2023-11-14 10:44:52 +08:00
wancat cce6127d51 fix: allow optional value by removing noError in SessionList 2023-11-14 10:44:52 +08:00
wancat 1e728b413b fix: not reexport in default 2023-11-14 10:44:52 +08:00
wancat 5df4967a85 feat: delete "deleteSession" method, validate questId and sessionId 2023-11-14 10:44:52 +08:00
wancat a7422853fa feat: add /users/me endpoint 2023-11-14 10:44:52 +08:00
wancat ae221a696c fix: update repo url in package.json 2023-11-14 10:44:52 +08:00
wancat f49fb0e4da feat: finishSession and allow user command after finished 2023-11-14 10:44:52 +08:00
wancat 45f12acbd9 feat: add UserProfile collection, create on login
* add progress
2023-11-14 10:44:52 +08:00
Lin, Hung-Shin e981bff3bb feat: change base image to alpine 2023-11-14 10:44:52 +08:00
Lin, Hung-Shin fac91e0f10 feat: update quest and user schema
* add requirements in quest
* add progress in user
2023-11-14 10:44:52 +08:00
Annie Huang f9914b8095 renew config and package 2023-11-13 23:08:29 +08:00
Annie Huang 62fe65d53a Update tests:
- Add public command to press enter until story end
- Add public command to check status pending

(cherry picked from commit c86163fd10)
2023-11-13 22:31:45 +08:00
Annie Huang 3dd0aaedb2 remove usless code
addtional information:
- add loading .env file in config

(cherry picked from commit 5d7c922fa6)
2023-11-13 22:31:45 +08:00
Annie Huang bb63057e92 update tests
- having bug testing blocked by limited reset time
- not yet check the playing part is fine

(cherry picked from commit c510e4a541)
2023-11-13 22:31:45 +08:00
Annie Huang 610eb3d2b7 update tests
- having bug testing blocked by limited reset time
- not yet check the playing part is fine

(cherry picked from commit c510e4a541)
2023-11-13 22:20:10 +08:00
Annie Huang 837712b742 Update tests:
- Add public command to press enter until story end
- Add public command to check status pending

(cherry picked from commit c86163fd10)
2023-11-13 22:15:39 +08:00
Annie Huang 103a8dbd0f update config
(cherry picked from commit ccb19b5bbd)
2023-11-13 22:14:26 +08:00
dependabot[bot] 710eb8fc2e build(deps): bump axios from 1.4.0 to 1.6.0 (#62)
Bumps [axios](https://github.com/axios/axios) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-12 00:48:27 +08:00
Lin, Hung-Shin 7d7ad154ab 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-08 14:22:08 +08:00
Lin, Hung-Shin 10e9d89349 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-05 23:27:50 +08:00
Lin, Hung-Shin 4c2f3f5397 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-03 21:32:12 +08:00
CHEN, TAI-LINandLin, Hung-Shin f93b4d757b fix: ui revise (#56)
* fix: ui revise

* fix: change to v-else

---------

Co-authored-by: Lin, Hung-Shin <wancat@wancat.cc>
2023-11-03 16:15:06 +08:00
Lin, Hung-Shin 21f97c051c Fix: UI revise (#50)
* Change tailwind.config.js structure
* Fix line break error in QuestPart.vue
2023-11-03 15:06:56 +08:00
Lin, Hung-Shin 3664df68b6 feat: add bug report url 2023-11-03 15:01:14 +08:00