Commit Graph
115 Commits
Author SHA1 Message Date
wancat 817cf8c40e hotfix: redirect to map after login 2024-03-01 23:49:58 +08:00
wancat 039da53bbe feat: send status to the frontend 2024-02-29 10:54:53 +08:00
wancat 88ee8f2cc3 feat: send response to frontend 2024-02-29 10:54:53 +08:00
wancat 9f1008336d refactor: routes and index.js 2024-02-22 20:44:47 +08:00
wancat 59590639ee refactor: authController, add session types 2024-02-22 20:35:19 +08:00
wancat 885f1c5b27 refactor: leaderboard controller 2024-02-22 20:18:04 +08:00
wancat ac8e9d1cfa refactor quest controller 2024-02-22 20:16:08 +08:00
wancat fd543ed594 finish session controller 2024-02-22 20:10:03 +08:00
wancat c912319967 refactor: userController and add req user type 2024-02-19 23:51:21 +08:00
wancat 4c421b4cb3 refactor: game 2024-02-19 23:13:37 +08:00
wancat 2d05149cea refactor socket 2024-02-19 19:24:18 +08:00
wancat ad66191d88 refactor: validators 2024-02-19 19:09:32 +08:00
chreamy 7bb7ac3f00 csrf token 2024-01-20 00:14:59 -06:00
chreamy 42278ad51b csrf token 2024-01-20 00:11:48 -06:00
chreamy d45fbee647 fix: CSRF issue #51 2024-01-18 03:23:39 -06:00
chreamy 91a9397c58 fix: CSRF issue #51 2024-01-18 03:12:25 -06:00
Lin, Hung-Shin 93e2485dee Merge branch 'main' into quest 2023-11-23 23:40:03 +08:00
Lin, Hung-Shin d07b38c7d6 fix: no callback found error 2023-11-23 23:00:16 +08:00
Lin, Hung-Shin 9e7065fbd7 fix: remove fake leaderboard responses 2023-11-23 22:28:36 +08:00
wancat 790e09b315 wip: design leaderboard 2023-11-23 16:28:47 +08:00
wancat 1a5655d7ce feat: rename numberOfCompletedQuests to score 2023-11-23 15:49:06 +08:00
wancat 196187d5c9 feat: add leaderboard api 2023-11-23 15:42:31 +08:00
Lin, Hung-Shin 0d8ab8413a feat: add leaderboard declarations 2023-11-23 15:04:39 +08:00
Chen, Tai-Lin c42c558614 quest get-started 2023-11-23 14:37:08 +08:00
Lin, Hung-Shin 21ca083628 Merge branch 'main' into quest-file 2023-11-22 11:39:24 +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 c89abfbac5 fix: disable quest lock when testing 2023-11-21 11:14:02 +08:00
Lin, Hung-Shin 3f8bcb5446 feat: disable quest locks when testing 2023-11-21 10:48:35 +08:00
Lin, Hung-Shin 82d1004ecf wip: removing console log 2023-11-20 14:59:14 +08:00
wancat f81c96be62 fix: fix createUser without password 2023-11-18 18:22:27 +08:00
wancat 81581c4635 BREAKING: change user social login schema 2023-11-18 16:29:37 +08:00
Lin, Hung-Shin 1f77328362 feat: add testing setup in backend 2023-11-17 10:59:47 +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 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 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 f49fb0e4da feat: finishSession and allow user command after finished 2023-11-14 10:44:52 +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
Lin, Hung-Shin 14043b3f12 feat: specify trust proxies 2023-11-02 12:11:15 +08:00
Lin, Hung-Shin a5896e7c15 feat: remove username length limit 2023-11-02 11:36:53 +08:00
wancat d4000eb5a6 feat: add validation before creating session 2023-11-01 22:59:32 +08:00
wancat bcfdf15559 feat: add error handling for choose username 2023-11-01 22:44:32 +08:00
wancat f65b72c5b4 feat: add rate limit for authentication
* improve error handling in frontend
2023-11-01 22:11:17 +08:00
wancat 203114cd5e feat: add validation for login 2023-11-01 21:35:25 +08:00
wancat fc6ac11c60 feat: complete register validation
* add password policy in frontend
2023-11-01 21:02:01 +08:00