Commit Graph
671 Commits
Author SHA1 Message Date
Chen, Tai-Lin d4da065a95 fix: load quest erorr handling 2023-11-21 10:48:35 +08:00
Chen, Tai-Lin 65894f831a quest update 2023-11-21 10:48:35 +08:00
Chen, Tai-Lin 5fbdcd5182 fix: ui revise 2023-11-21 10:48:35 +08:00
Lin, Hung-Shin ee5e8afe7b fix: logger import 2023-11-21 10:38:36 +08:00
Lin, Hung-Shin a6b51a08e5 fix: mount log folder in test and production 2023-11-21 10:19:33 +08:00
Lin, Hung-Shin 0d886a686e fix: remove console log in backend 2023-11-21 10:15:06 +08:00
Annie Huang 9da23b5dc1 translation and little format fixture 2023-11-20 22:49:46 +08:00
Lin, Hung-Shin f6c3b33da9 Feat quests page (#67)
Feat quests page
2023-11-20 16:24:25 +08:00
Annie Huang 83994106a0 Add error handling 2023-11-20 15:41:08 +08:00
Annie Huang 2837354456 render-->renderer 2023-11-20 15:36:06 +08:00
Chen, Tai-Lin 6ff21053cf quest update 2023-11-20 15:26:32 +08:00
Annie Huang 4c1be84942 Swap code position of template and script 2023-11-20 15:08:14 +08:00
Annie Huang 659161a76e modify header title 2023-11-20 14:59:30 +08:00
Lin, Hung-Shin 82d1004ecf wip: removing console log 2023-11-20 14:59:14 +08:00
Annie Huang 12c6e493a5 Change lineStyle by unlocked,delete docker swagger 2023-11-20 14:41:03 +08:00
Lin, Hung-Shin 515aefcadc feat: add winston 2023-11-20 14:36:38 +08:00
Annie Huang 5d353b71e2 Change background to svg 2023-11-20 13:49:09 +08:00
Chen, Tai-Lin c9a24b92ad fix: load quest erorr handling 2023-11-20 12:58:18 +08:00
Chen, Tai-Lin 92b12a90d3 quest update 2023-11-20 12:51:48 +08:00
Chen, Tai-Lin f84a163b77 fix: ui revise 2023-11-20 12:51:25 +08:00
Annie Huang c272fe61a8 modify background, change color when completed 2023-11-20 01:38:06 +08:00
Lin, Hung-Shin 9bdaa95bad Update CI/CD workflows (#66)
**BREAKING CHANGES:**
* Schema change: put user social logins to a `socialLogins` map
* Original users would migrate to new schema without problem (because
sharing the same email)
* Docker images are moved to a new account
[linuxodyssey](https://hub.docker.com/u/linuxodyssey)
* Images are separate to different repo: frontend, backend, analytics,
quest-base
  * Tags are only for versioning.

Major improvements:
* Deploy to production on releasing tags
* Deploy to staging on main branch pushes
* build docker images with versioning tags: `latest`, `main`, `v0.1.0`,
`pr-63`, etc.
* Add basic auth for admin dashboard. Specify username and password by
env.

Minor improvements:
* Upgrade code review bot to use GPT 4
* Centralize all user creation in `models/userManager.js`
* Update docker get image method, based on QUEST_PREFIX to generate the
image name
v0.0.1
2023-11-19 15:10:23 +08:00
wancat 521cf46929 feat: add concurrency 2023-11-19 14:56:10 +08:00
wancat 2028075240 feat: setup admin env in prod compose 2023-11-19 14:51:36 +08:00
wancat 77cb555ae6 feat: add production deploy credentials 2023-11-19 14:36:56 +08:00
Annie Huang 46efb15273 Change node shape, fix broke (y-axis), add header 2023-11-19 00:40:16 +08:00
wancat f9e0fade3b fix: update quest image name 2023-11-18 22:25:05 +08:00
wancat aed66a4fe5 fix: analytics login method 2023-11-18 22:22:51 +08:00
wancat 1ab394f187 feat: add basic auth to analytics 2023-11-18 22:22:34 +08:00
Annie Huang b5be0608ae Add background, modify classes 2023-11-18 22:10:17 +08:00
wancat 8430ce4428 feat: add error handling for oauthVerify 2023-11-18 21:46:03 +08:00
wancat 8d0ec00536 fix: checkout code on building 2023-11-18 18:43:26 +08:00
wancat bf6aabb1c5 fix: passing docker hub secrets to build workflow 2023-11-18 18:37:29 +08:00
wancat 17277da171 fix: build cypress along with other images 2023-11-18 18:22:47 +08:00
wancat f81c96be62 fix: fix createUser without password 2023-11-18 18:22:27 +08:00
wancat d3945eeaa7 fix: change code review model to gpt 4 2023-11-18 18:12:03 +08:00
wancat 7d25c7efaa feat: update workflows
* build images with automatic tags
* separate staging and production deployment
* reuse workflows
2023-11-18 18:05:42 +08:00
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