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
|
5dd56308ce
|
feat: add login by username or email
|
2023-09-14 18:58:09 +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
|
3aa27ae597
|
feat: add username and email validation function
|
2023-09-14 17:39:26 +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 |
|
wancat
|
0f53696f71
|
feat: apply auth to container and cli client
|
2023-09-12 00:12:09 +08:00 |
|
wancat
|
030dc95e24
|
refactor: put passport to auth folder
|
2023-09-11 23:38:29 +08:00 |
|
wancat
|
41111f5036
|
feat: add jwt verification
|
2023-09-11 23:09:00 +08:00 |
|
wancat
|
bcdd04715d
|
feat: add password login
|
2023-09-11 22:59:41 +08:00 |
|
wancat
|
0ea44e1f71
|
feat: add initial task on session creation
|
2023-09-01 17:16:32 +08:00 |
|
wancat
|
97b0fb0f1d
|
refactor: seperate SessionHandler from commandHandler
|
2023-09-01 15:25:18 +08:00 |
|
wancat
|
dd7829b3e9
|
feat: combine task with stage
|
2023-09-01 14:56:28 +08:00 |
|
wancat
|
de8d49aea3
|
fix: change jwt expiry time to config
* rename dockerfile env
|
2023-09-01 13:54:51 +08:00 |
|
wancat
|
8b5f7175a7
|
fix: error handling of container failures
|
2023-09-01 13:49:00 +08:00 |
|
wancat
|
99da610d9e
|
feat: exit shell on disconnect
|
2023-08-30 19:52:40 +08:00 |
|
wancat
|
e16b328892
|
feat: refactor stage to multiple route design
|
2023-08-30 18:05:11 +08:00 |
|
wancat
|
3dae9e8552
|
feat: store graph in session manager
|
2023-08-29 14:28:09 +08:00 |
|
wancat
|
ee7cd083bd
|
feat: handle discover in server
|
2023-08-29 13:28:18 +08:00 |
|
wancat
|
3b8264e39e
|
refactor: refactor commandHandler to class
|
2023-08-29 12:08:36 +08:00 |
|
wancat
|
c3683ddaea
|
feat: import file-graph package
* Update Dockerfile structure, copy quests, packages to sub folder
|
2023-08-29 11:58:14 +08:00 |
|
wancat
|
54e0689d30
|
fix: remove mounting at production error
|
2023-08-26 11:11:13 +08:00 |
|
wancat
|
3f50b99d1a
|
fix: not to use 'force' in container deletion
|
2023-08-24 11:36:24 +08:00 |
|
wancat
|
27f8525585
|
fix: add missing "error" field in command
|
2023-08-24 11:35:43 +08:00 |
|
wancat
|
ad3dd2fb18
|
fix: default retrieve active session
+ typo 'deactive' -> 'inactive',
|
2023-08-23 12:27:20 +08:00 |
|
wancat
|
22060070b9
|
feat: add session expiry deletion script and scheduler
|
2023-08-23 12:22:15 +08:00 |
|
wancat
|
8e63284211
|
feat: seperate container creation and get
|
2023-08-23 11:51:16 +08:00 |
|
wancat
|
2c866d2e83
|
feat: add status, lastActivityAt column to session
|
2023-08-23 11:50:49 +08:00 |
|
wancat
|
4b3a80608c
|
fix: remove hard coded project path
+ pass host_pwd using docker compose
+ mount it only when provided
|
2023-08-22 16:05:06 +08:00 |
|
wancat
|
9aa9367f9e
|
refactor: move quests out of server
+ move quests from server/quests to ./quests
+ add frontend image in docker compose development
|
2023-08-22 11:48:44 +08:00 |
|
wancat
|
f08ee333a7
|
feat: push new pwd when 'cd'
|
2023-08-21 20:40:05 +08:00 |
|
wancat
|
096b7a7714
|
feat: push discover event to frontend
|
2023-08-21 20:40:05 +08:00 |
|
wancat
|
6ace18475b
|
refactor: move client to sperate packages, rename cli to container
|
2023-08-21 20:40:05 +08:00 |
|
wancat
|
41a12c9aa8
|
feat: collect 2 level files info when ls
* change cli dir to /usr/local/lib/cli
* refactor cli to multiple files
* add handleCommand and listeners pattern
|
2023-08-21 20:40:05 +08:00 |
|
wancat
|
a151d2d667
|
feat: add type and color to response
|
2023-08-09 21:14:57 +08:00 |
|
wancat
|
5cad3ecc12
|
fix: mark progress to stage.next directly
|
2023-08-08 20:38:27 +08:00 |
|
wancat
|
a73aa8b461
|
fix: prevent execute command twice
|
2023-08-08 20:38:27 +08:00 |
|
wancat
|
6f368f761e
|
feat: add hints to session, update API
|
2023-08-08 20:38:27 +08:00 |
|
wancat
|
094332da53
|
feat: add commandHandler
|
2023-08-08 20:38:27 +08:00 |
|
wancat
|
0de4b6ac9d
|
feat: design game file and parse it to mongo
* 取消用 README 來寫關卡說明
|
2023-08-08 20:38:27 +08:00 |
|
wancat
|
6204bd0b17
|
feat: change to use Zsh
* show message from server response
* send output and error to server
|
2023-08-08 20:38:27 +08:00 |
|
wancat
|
0153eae673
|
feat: new cli client to send and receive msg from api
|
2023-08-08 20:38:27 +08:00 |
|
wancat
|
06ee53f194
|
fix: send string
|
2023-08-08 20:36:49 +08:00 |
|
wancat
|
c3030b22be
|
feat: add mongo init script, use root in app image
|
2023-07-31 17:19:03 +08:00 |
|