Lin, Hung-Shin
|
3f8bcb5446
|
feat: disable quest locks when testing
|
2023-11-21 10:48:35 +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 |
|
Lin, Hung-Shin
|
1c9d69a8e0
|
feat: add validators for username, email, password
* not passed yet
|
2023-11-01 15:02:30 +08:00 |
|
wancat
|
b9a79eb435
|
feat: add get ip endpoint
* rename handler
* change rate limit
|
2023-10-31 00:27:06 +08:00 |
|
wancat
|
c10b05c401
|
feat: add global and session rate limit
|
2023-10-30 23:46:39 +08:00 |
|
wancat
|
252781477a
|
feat: socket error handling
* create a new session when failed to connect to socket
* reset termnal on connect
|
2023-10-30 23:31:58 +08:00 |
|
wancat
|
5a7c4da628
|
refactor: add getOrCreateSession to simplify process
|
2023-10-30 22:43:27 +08:00 |
|
wancat
|
11bc793b12
|
refactor: separate createSession to sessionManager
|
2023-10-30 22:10:25 +08:00 |
|
Lin, Hung-Shin
|
2285192eac
|
feat: delete previous container on session creation
|
2023-10-30 13:31:59 +08:00 |
|
wancat
|
917083ad30
|
fix: remove debugging console log
|
2023-10-29 17:42:31 +08:00 |
|
wancat
|
d724f97403
|
feat: add pending signal to status
|
2023-10-29 17:42:31 +08:00 |
|
wancat
|
aec0cf84ad
|
feat: include complete stage name in command
|
2023-10-29 17:41:38 +08:00 |
|
wancat
|
50bf514805
|
feat: separate db models from server
|
2023-10-14 15:34:46 +08:00 |
|
Lin, Hung-Shin
|
c5ccf03ac5
|
feat: add username and email check in frontend
|
2023-10-13 16:38:25 +08:00 |
|
wancat
|
182fcf643f
|
feat: pick username
* put new registered social login user to session data
* ask to choose username
* simplify checkUsername functions
|
2023-10-13 00:05:59 +08:00 |
|
Annie Huang
|
ad5344c98b
|
feat: github auth
|
2023-10-12 16:12:07 +08:00 |
|
Lin, Hung-Shin
|
50bed23d37
|
fix: remove unnecessary console log
|
2023-10-05 14:22:47 +08:00 |
|
Lin, Hung-Shin
|
72b2711367
|
feat: make social login optional
|
2023-10-05 13:32:02 +08:00 |
|
Lin, Hung-Shin
|
aa29098954
|
fix: register error message "email already exists"
|
2023-10-05 11:50:21 +08:00 |
|
Lin, Hung-Shin
|
44b3304046
|
feat: login to google success
|
2023-10-04 13:23:16 +08:00 |
|
wancat
|
d745531a14
|
feat: update swagger, secure cookie
|
2023-09-17 12:48:50 +08:00 |
|
wancat
|
d939b7eb4d
|
feat: add loggedIn checks for frontend
|
2023-09-17 12:29:45 +08:00 |
|
wancat
|
34c277c886
|
feat: update frontend to use cookie session
* use SessionMiddleware in socket.io server
* add back jwtStrategy for commands
|
2023-09-17 12:14:30 +08:00 |
|
wancat
|
be5cd152a9
|
change to use session for auth
+ replace BearerAuth to cookieAuth in swagger
+ add swagger.yaml to nodemon watch list
|
2023-09-17 11:27:37 +08:00 |
|
Lin, Hung-Shin
|
a6d02f2616
|
refactor: simplify register flow
|
2023-09-15 15:50:36 +08:00 |
|
Lin, Hung-Shin
|
f5c465ab69
|
feat: add login & signup flow
|
2023-09-14 18:54:40 +08:00 |
|
Lin, Hung-Shin
|
f1510df13e
|
feat: enhance checkUser api
* determine whether it's email or username, and if it exists
|
2023-09-14 17:43:07 +08:00 |
|
Lin, Hung-Shin
|
49417c405a
|
feat: add login in frontend
* extract icon library from main.js
* extract router from main.js
* failure with error in passport
* add example to swagger
|
2023-09-13 14:02:28 +08:00 |
|
wancat
|
b55b7aa1ec
|
feat: add register, checkUsername, update swagger
|
2023-09-12 23:01:49 +08:00 |
|
wancat
|
04a0b21cf6
|
fix: session response payload
|
2023-09-12 00:12:22 +08:00 |
|