Commit Graph
237 Commits
Author SHA1 Message Date
Lin, Hung-Shin 9b0f8d20da Create LICENSE 2023-10-03 21:59:37 +08:00
Annie Huang 7fb0a22786 Merge pull request #30 from linux-odyssey/feat-hint
feat: hintpart
2023-09-28 17:38:33 +08:00
Annie Huang dfd417401f update: use tailwind color setting 2023-09-28 16:15:24 +08:00
Annie Huang b881f37b7b Merge pull request #31 from linux-odyssey/feat-tests
Feat tests
2023-09-28 14:55:03 +08:00
Annie Huang 2fc9784477 update: hint reassign, UI 2023-09-28 14:42:17 +08:00
Lin, Hung-Shin d04c6a4801 fix: remove unnecessary pulling in workflow 2023-09-28 14:02:21 +08:00
Lin, Hung-Shin f794e8f112 feat: setup github action e2e job 2023-09-28 13:54:36 +08:00
Lin, Hung-Shin b305cd92b9 feat: allow pushing of quest base image to save time 2023-09-28 13:49:14 +08:00
Lin, Hung-Shin 440db20f5f doc: add e2e testing instruction 2023-09-28 13:47:28 +08:00
Lin, Hung-Shin 6ee87823f1 feat: add e2e testing docker compose file 2023-09-28 13:47:00 +08:00
Lin, Hung-Shin a6ffd6b037 feat: cypress accept baseUrl from env 2023-09-28 13:27:46 +08:00
Annie Huang 764f558307 hintpart rebase 2023-09-27 23:26:57 +08:00
Lin, Hung-Shin 94e8940369 feat: init cypress 2023-09-25 13:28:52 +08:00
Lin, Hung-Shin 2524acecf4 Merge pull request #28 from linux-odyssey/fix-cookie
fix: change cookie setting, prevent form trigger twice
2023-09-18 23:38:00 +08:00
wancat b8e520152b fix: change cookie setting, prevent form trigger twice 2023-09-18 23:37:25 +08:00
Lin, Hung-Shin 248355a2f5 Merge pull request #26 from linux-odyssey/feat-auth
backend:
* add `username` and `email` 2 unique and required field to User
* use PassportJS for authentication framework
* use express-session, connect-mongo as backend
* use passport-local for password authentication
* use passport-jwt for container authentication

frontend:
* combined login / sign up flow
* use http-only cookie
* move login page from `/` to `/login`, automatically redirect

client:
* remove `list` command (not useful)
* add authentication functions
2023-09-18 22:54:28 +08:00
wancat 45231dda11 fix: update client to authenticate by session 2023-09-18 22:51:20 +08:00
wancat 59ced31094 fix: update config field name 2023-09-17 13:05:49 +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 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
Lin, Hung-Shin a5dbcd7db4 Merge pull request #24 from linux-odyssey/app-neil
feat: add Authentication Page
2023-09-10 20:16:05 +08:00
wancat ac8e2bc73a Merge branch 'main' into app-neil 2023-09-10 20:12:43 +08:00
wancat c3b7968a76 feat: use vue router to organize pages 2023-09-10 20:06:23 +08:00
Lin, Hung-Shin 52dabb2f36 Merge pull request #25 from linux-odyssey/fix-deploy-image
fix: add build base image in CI/CD workflow
2023-09-10 19:04:35 +08:00
wancat 4b43ab5050 fix: add build base image in CI/CD workflow 2023-09-10 19:03:31 +08:00
Annie Huang 221ffae37a Merge pull request #23 from linux-odyssey/server-quest
Add Tasks to quest
2023-09-10 11:12:35 +08:00
Chen, Tai-Lin a230f38393 feat: add Authentication Page 2023-09-01 18:41:44 +08:00
Chen, Tai-Lin b41343ed68 feat: add Authentication Page 2023-09-01 18:32:24 +08:00
Chen, Tai-Lin 0ca0ef08e1 feat: add Authentication Page 2023-09-01 17:50:30 +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 a8147ecfa1 feat: display tasks 2023-09-01 15:15:12 +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 3fdbca89f3 feat: add waiting time before the responses 2023-08-31 16:45:03 +08:00