Commit Graph
10 Commits
Author SHA1 Message Date
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