Commit Graph
486 Commits
Author SHA1 Message Date
AnnieHuang 63c2443802 Add animejs for further usage 2023-11-23 13:57:41 +08:00
Annie f9e6228226 Add 3 stage color: locked, unlocked, completed 2023-11-23 13:57:41 +08:00
Annie Huang 937c510aa0 Add username to navbar (#72)
* Add username to navbar
* Set navbar title by props
2023-11-23 13:46:01 +08:00
Lin, Hung-Shin 779733c7ba Add status badges (#71) 2023-11-23 13:40:46 +08:00
Lin, Hung-Shin e360ebcf53 fix: reset user profile on logout 2023-11-22 14:53:41 +08:00
Lin, Hung-Shin 89f86fad30 feat: add username to navbar, pass title by props 2023-11-22 14:46:41 +08:00
Lin, Hung-Shin ff2241daa8 Add status badges 2023-11-22 00:10:11 +08:00
Lin, Hung-Shin d15a197db9 Feat Translation Chinese (Mandarin) (#68)
- Translate Component to Mandarin
- Relative size of map node and font
- Relative size of header title
- Fix Hint Text changing direction
- Modifying cypress tests for translates
- Add a parameter to check the language version
- Add commands for checking different version elements and placeholder
- Fix docker parse JSON
2023-11-21 23:31:33 +08:00
wancat 5b71944588 fix: redirect to map on social login 2023-11-21 23:23:20 +08:00
Annie Huang 7320688827 fix: display format, docker parsejson, hint title 2023-11-21 22:53:43 +08:00
Lin, Hung-Shin a4a261291d Merge branch 'main' into feat-translate-ch 2023-11-21 22:28:57 +08:00
Annie Huang 4c85516bcb fix cypress /map problem
update packages
2023-11-21 22:24:34 +08:00
Lin, Hung-Shin 9f9a31719e Add logger in backend (#69)
* Replace `console.log` `console.error` with Winston logger
* Add ESLint warning of `console`
2023-11-21 22:16:56 +08:00
Annie 174941a37e Add map(header),continue to map,login direct - map 2023-11-21 21:13:33 +08:00
wancat bdd37ae747 feat: pass oauth secret to actions 2023-11-21 20:46:42 +08:00
Annie f1d5374137 Change order to maksure Social Login is enabled 2023-11-21 15:05:03 +08:00
Annie 364cda39ad fix eslint problems 2023-11-21 14:42:36 +08:00
Annie cc03e57c70 fix cypress command format 2023-11-21 14:20:55 +08:00
Annie f7907a5999 fix format 2023-11-21 14:01:17 +08:00
Annie 5d26029166 fix format 2023-11-21 13:58:09 +08:00
Annie 869f01a62b Add check chtext element and ids,fix quest problem 2023-11-21 12:56:15 +08:00
Lin, Hung-Shin d221465a73 fix: prevent log flooding g from socket message 2023-11-21 12:23:24 +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
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
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