Commit Graph
23 Commits
Author SHA1 Message Date
wancat df140c64f8 fix: Update eslint rule for unused variables 2024-04-01 11:53:02 +08:00
wancat ebd713200c refactor: update socket types 2024-03-28 21:06:09 +08:00
wancat b059cca7b2 fix jest types by import @jest/globals 2024-02-27 11:45:10 +08:00
wancat 253bd04588 finish file-graph and solve jest ts 2024-02-07 10:03:53 +08:00
wancat 2a542302bc update eslint to omit blank line between members 2024-02-06 09:31:20 +08:00
wancat c353f81b9f fix vue eslint error 2024-02-05 11:57:53 +08:00
wancat 6e4e1cfed1 fix eslint 2024-02-05 11:49:27 +08:00
Lin, Hung-Shin 8eaec839d3 feat: add post-build-script to gradually migrate 2024-01-29 12:42:50 +08:00
Lin, Hung-Shin 21ca083628 Merge branch 'main' into quest-file 2023-11-22 11:39:24 +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
Lin, Hung-Shin 66ce015f0e feat: add exceptions to stage 2023-11-21 14:27:43 +08:00
Lin, Hung-Shin 0d886a686e fix: remove console log in backend 2023-11-21 10:15:06 +08:00
Lin, Hung-Shin 82d1004ecf wip: removing console log 2023-11-20 14:59:14 +08:00
Lin, Hung-Shin e018e8dfe4 refactor: encapsulate DAG 2023-11-16 12:46:30 +08:00
wancat 11bc793b12 refactor: separate createSession to sessionManager 2023-10-30 22:10:25 +08:00
Lin, Hung-Shin 94e8940369 feat: init cypress 2023-09-25 13:28:52 +08:00
Chen, Tai-Lin b41343ed68 feat: add Authentication Page 2023-09-01 18:32:24 +08:00
wancat e122800c81 feat: add sessionManagerto connect session 2023-08-17 20:21:32 +08:00
wancat ae61bfc768 Update eslint rule 2023-08-08 20:38:27 +08:00
wancat 95fc25d0ad feat: connect to different container by sessions
Based on the file summaries provided, the best label for this commit would be "feat". This is because the commit introduces several new features to the codebase, such as adding a new ESLint rule, adding a new property to a function, adding authentication middleware, adding a query parameter, and adding a new function to handle user authentication.: update authentication and session handling

- Add `"camelcase"` rule to ESLint configuration
- Add `containerId` property to the `newSession` object in the `createSession` function
- Add authentication middleware to the socket.io connection
- Add a query parameter `session_id` to the socket.io connection in `client.js`
- Add `defaultUser` function to handle user authentication
- Update the `authMiddleware` function to use the `defaultUser` function
- Add `defaultUser` function to handle user authentication in `auth.js`
- Update `getOrCreateContainer` function to use the `id` parameter instead of `name` parameter
2023-07-24 12:21:05 +08:00
wancat 04edfdd0dc Define routes, controllers of sessions
Work in progress, debugging
2023-07-19 16:42:09 +08:00
wancat de637f3cf6 Turn off eslint import/extension 2023-07-15 15:30:42 +08:00
wancat ad4dc6d576 Setup ESLint + Prettier, Re-setup Express 2023-07-14 21:19:53 +08:00