Lin, Hung-Shin
fb6411e923
feat: logger display error stack
2023-11-26 19:21:58 +08:00
Lin, Hung-Shin
a7e646c28b
feat: check global exceptions
2023-11-26 19:20:30 +08:00
Lin, Hung-Shin
98a226f3ff
feat: load global exceptions
2023-11-26 18:40:39 +08:00
Lin, Hung-Shin
49fb5a6a61
fix: Remove exceptions from stages
2023-11-26 18:32:06 +08:00
Lin, Hung-Shin
fe69841622
feat: improve parsing quest error message
2023-11-26 18:31:45 +08:00
Lin, Hung-Shin
bb968706ad
feat: refactor quest models
...
+ separate stage and exception
+ reuse commandResponder
2023-11-26 18:29:52 +08:00
Lin, Hung-Shin
b41e67ee0b
fix: error in quest read ( #81 )
2023-11-24 12:59:46 +08:00
Lin, Hung-Shin
b78398680d
fix: add error handling ( #82 )
2023-11-24 12:53:00 +08:00
Lin, Hung-Shin
c7f52b1003
fix: add error handling
2023-11-24 12:52:01 +08:00
Lin, Hung-Shin
eb9118d5b1
Quest update ( #80 )
2023-11-24 09:58:09 +08:00
Lin, Hung-Shin
f30f6472f5
fix: error in quests ( #79 )
2023-11-24 09:51:33 +08:00
Lin, Hung-Shin
b27adc1f69
Add survey and leaderboard button ( #78 )
...
Add survey and leaderboard button
2023-11-24 00:59:34 +08:00
Lin, Hung-Shin
de406135a3
modify quest cast ( #77 )
2023-11-24 00:37:21 +08:00
Lin, Hung-Shin
38725c588b
SKIP CI checks on deployment ( #76 )
...
SO BAAAAAAAAAAAD
2023-11-23 23:51:38 +08:00
Lin, Hung-Shin
d95b763b45
SKIP CI checks on deployment
2023-11-23 23:50:51 +08:00
Lin, Hung-Shin
f4de2a182e
feat: add series of quests ( #75 )
2023-11-23 23:44:27 +08:00
Lin, Hung-Shin
93e2485dee
Merge branch 'main' into quest
2023-11-23 23:40:03 +08:00
Lin, Hung-Shin
5f7e2a3d5a
Feat complete animation ( #73 )
...
Add complete animation in complete modal
Add 3-state-colors on map:
- green: completed
- gray: unlocked
- dark: locked
* haven’t add back v-if because the pc is out of power
2023-11-23 23:37:47 +08:00
Lin, Hung-Shin
143b84afb4
Feat leaderboard ( #74 )
2023-11-23 23:34:18 +08:00
Lin, Hung-Shin
c54bc68001
fix: remove debug log
2023-11-23 23:32:35 +08:00
Lin, Hung-Shin
f03a544108
fix; cypress use 'get-started' as test quest
2023-11-23 23:29:19 +08:00
Lin, Hung-Shin
2cc8a98734
Merge remote-tracking branch 'origin/quest' into quest
2023-11-23 23:00:47 +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
Lin, Hung-Shin
52fa8d6f3a
fix: put leadeboard align top
2023-11-23 22:28:23 +08:00
Lin, Hung-Shin
88d19e7f87
fix: navbar overlap leaderboard
2023-11-23 22:22:48 +08:00
Lin, Hung-Shin
a9a63ea164
feat: print hints one by one, fix unexpected breakline
2023-11-23 21:56:01 +08:00
wancat
790e09b315
wip: design leaderboard
2023-11-23 16:28:47 +08:00
wancat
a90b0a3c83
feat: load leadboard data in frontend
2023-11-23 15:49:20 +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
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
6fddf5ee0c
quest: add study commands to instruction
2023-11-22 13:57:09 +08:00
Lin, Hung-Shin
1ab3e577c1
quest: "remove" finish, a bug in last stage
2023-11-22 12:50:17 +08:00
Lin, Hung-Shin
28cd2a7ac7
fix: change build:quests output to console
2023-11-22 12:49:47 +08:00
Lin, Hung-Shin
2e1fe369a4
feat: default response to dialogue and spoken by Ada
2023-11-22 12:14:04 +08:00
Lin, Hung-Shin
21ca083628
Merge branch 'main' into quest-file
2023-11-22 11:39:24 +08:00
Lin, Hung-Shin
3cebcddc91
fix: expiryCheck error handling
2023-11-22 11:26:03 +08:00
Lin, Hung-Shin
cd03277fd4
quest: "move" change optional hint to exception
2023-11-22 10:44:52 +08:00
Lin, Hung-Shin
2c4bd67996
fix: mount quest function
2023-11-22 10:40:15 +08:00
Lin, Hung-Shin
06c36565d0
fix: container cli error handling
2023-11-22 10:39:57 +08:00
Lin, Hung-Shin
ba641ca222
fix: container panic when discover not exists
2023-11-22 10:23:47 +08:00
Lin, Hung-Shin
ff2241daa8
Add status badges
2023-11-22 00:10:11 +08:00
wancat
d19b32c6d1
quest: add "move"
2023-11-21 23:58:44 +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
wancat
627ff1476b
quest: "copy" add cp -r exception
2023-11-21 22:54:39 +08:00
wancat
06c694ee68
quest: add check empty file stage
2023-11-21 22:54:12 +08:00
Lin, Hung-Shin
a4a261291d
Merge branch 'main' into feat-translate-ch
2023-11-21 22:28:57 +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
wancat
bdd37ae747
feat: pass oauth secret to actions
2023-11-21 20:46:42 +08:00
Lin, Hung-Shin
dd7cded09e
feat: finsih copy
2023-11-21 15:11:05 +08:00
Lin, Hung-Shin
66ce015f0e
feat: add exceptions to stage
2023-11-21 14:27:43 +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
56d96cf7a0
fix: only send hints when it's not empty
2023-11-21 12:16:01 +08:00
Lin, Hung-Shin
a8ba2a640b
feat: finish quest create
2023-11-21 12:15:44 +08:00
Lin, Hung-Shin
36f53da08a
feat: make hints a group in one stage
2023-11-21 11:55:32 +08:00
Lin, Hung-Shin
42ac27126c
Merge remote-tracking branch 'origin/quest' into quest-file
2023-11-21 11:20:21 +08:00
Lin, Hung-Shin
4297f96913
Merge branch 'quest' into quest-file
2023-11-21 11:19:05 +08:00
Lin, Hung-Shin
691f12f7e7
feat: add title to quests
2023-11-21 11:17:49 +08:00
Lin, Hung-Shin
c89abfbac5
fix: disable quest lock when testing
2023-11-21 11:14:02 +08:00
Lin, Hung-Shin
3fed851b7b
feat: reload all quest on starting
2023-11-21 11:04:52 +08:00
Lin, Hung-Shin
3f8bcb5446
feat: disable quest locks when testing
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
Lin, Hung-Shin
f6c3b33da9
Feat quests page ( #67 )
...
Feat quests page
2023-11-20 16:24:25 +08:00
Lin, Hung-Shin
82d1004ecf
wip: removing console log
2023-11-20 14:59:14 +08:00
Lin, Hung-Shin
515aefcadc
feat: add winston
2023-11-20 14:36:38 +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
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
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
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
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