Lin, Hung-Shin
cb376caff0
Merge branch 'main' into feat-automation-test
2023-11-17 09:43:26 +08:00
Lin, Hung-Shin
c92a2e1d70
feat: install echarts and initialize graph chart
2023-11-15 14:02:33 +08:00
wancat
d0e2a4125d
feat: add vue-toastification for alerting
2023-11-14 10:45:24 +08:00
Annie Huang
f9914b8095
renew config and package
2023-11-13 23:08:29 +08:00
Annie Huang
610eb3d2b7
update tests
...
- having bug testing blocked by limited reset time
- not yet check the playing part is fine
(cherry picked from commit c510e4a541 )
2023-11-13 22:20:10 +08:00
dependabot[bot]
710eb8fc2e
build(deps): bump axios from 1.4.0 to 1.6.0 ( #62 )
...
Bumps [axios](https://github.com/axios/axios ) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-12 00:48:27 +08:00
Lin, Hung-Shin
c6c70a4285
Merge pull request #53 from linux-odyssey/dependabot/npm_and_yarn/postcss-8.4.31
...
build(deps-dev): bump postcss from 8.4.26 to 8.4.31
2023-11-02 14:19:56 +08:00
dependabot[bot]
fc9926f8e2
build(deps): bump @babel/traverse from 7.22.8 to 7.23.2
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.8 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-02 06:14:26 +00:00
dependabot[bot]
bdeaecfb34
build(deps-dev): bump postcss from 8.4.26 to 8.4.31
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.26 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.26...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-02 06:14:22 +00:00
wancat
fc6ac11c60
feat: complete register validation
...
* add password policy in frontend
2023-11-01 21:02:01 +08:00
Lin, Hung-Shin
f18ec35a9f
feat: generate secure secret key and prevent default
2023-11-01 14:19:18 +08:00
wancat
c10b05c401
feat: add global and session rate limit
2023-10-30 23:46:39 +08:00
wancat
d724f97403
feat: add pending signal to status
2023-10-29 17:42:31 +08:00
wancat
fb687094ee
feat: new analytics package, setup template
2023-10-14 16:03:44 +08:00
wancat
50bf514805
feat: separate db models from server
2023-10-14 15:34:46 +08:00
Annie Huang
ad5344c98b
feat: github auth
2023-10-12 16:12:07 +08:00
Lin, Hung-Shin
44b3304046
feat: login to google success
2023-10-04 13:23:16 +08:00
Lin, Hung-Shin
94e8940369
feat: init cypress
2023-09-25 13:28:52 +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
wancat
bcdd04715d
feat: add password login
2023-09-11 22:59:41 +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
wancat
0ea44e1f71
feat: add initial task on session creation
2023-09-01 17:16:32 +08:00
wancat
22060070b9
feat: add session expiry deletion script and scheduler
2023-08-23 12:22:15 +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
34d5ace664
feat: use minimist to refactor cli
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
4efce2c6b8
fix: remove cors
2023-08-21 20:27:44 +08:00
wancat
e122800c81
feat: add sessionManagerto connect session
2023-08-17 20:21:32 +08:00
wancat
7fa5ab5bc6
Create a pty cli, not useful
2023-08-17 19:45:18 +08:00
wancat
a74233d7f9
feat: connect to localhost
2023-08-17 19:43:55 +08:00
Annie Huang
9b4335a628
changed WidgetTerminal to TerminalPart, add xterm attach but seemed not fit to use on http://localhost:3000
2023-08-17 19:43:55 +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
e2e585329f
Create a pty cli, not useful
2023-08-08 20:38:27 +08:00
wancat
66cc1036b4
feat: use axios, extract api to another file
2023-08-01 20:54:49 +08:00
Chen, Tai-Lin
06220e6b30
import fontawesome api
2023-08-01 20:54:05 +08:00
wancat
ec90c484b4
feat: add parameters and subcommand to client.js
...
- Added `"commander": "^11.0.0"` as a dependency in the `package.json` file
- Added an `import { program } from 'commander'` statement in the `client.js` file
- Modified the `createdSession` function in the `client.js` file to use `program.opts().host` instead of `API_ENDPOINT`
- Added a `getSessionList` function in the `client.js` file to fetch the list of sessions
- Added a `lastSession` function in the `client.js` file to get the last session from the session list
- Added a `connect` function in the `client.js` file to establish a socket connection
- Modified the `main` function in the `client.js` file to use `program.opts().session` instead of `process.argv[2]` to get the session ID
- Modified the `main` function in the `client.js` file to use `program.opts().host` instead of `API_ENDPOINT` to initialize the socket connection
- Added a `program` object with options and actions in the `client.js` file
- Added `.bash_history` to the `.gitignore` file
- Added `.viminfo` to the `.gitignore` file
- Added `*.swp` to the `.gitignore` file
Signed-off-by: wancat <wancat@wancat.cc >
2023-07-31 15:42:58 +08:00
wancat
3cea54ce71
feat: add new API for recording executed commands
...
- Add the `jsonwebtoken` dependency to the server's `package.json`
- Add a new file `commandController.js` to the server's API controllers
- Add a new route `/commands` to the server's API routes
- Add a new file `commands.js` to the server's API routes
- Modify the `index.js` file in the server's API routes to import and use the `commands.js` route
- Add a `newCommand` function to the `commandController.js` file
- Add a `Command` model to the `command.js` file in the server's models
- Add the `genSessionJWT` and `verifySessionJWT` functions to the `auth.js` file in the server's utils
- Modify the `attachContainer` function in the `docker.js` file in the server's utils to include a `token` parameter
- Modify the `swagger.yaml` file to include a new route `/commands` for recording executed commands in a session
Signed-off-by: wancat <wancat@wancat.cc >
2023-07-24 16:39:04 +08:00
wancat
b2173d180d
Read all quest data in the folder
2023-07-19 20:01:14 +08:00
wancat
04edfdd0dc
Define routes, controllers of sessions
...
Work in progress, debugging
2023-07-19 16:42:09 +08:00
wancat
50443b96e0
Connect to mongodb, define schemas
2023-07-19 15:30:36 +08:00
wancat
8901b385ad
Add swagger
2023-07-18 20:11:05 +08:00
wancat
f17c2a9ef5
Change to use Socket.IO
2023-07-15 12:29:54 +08:00
wancat
0ca4bf0bc8
Create docker container and attach
2023-07-15 11:55:38 +08:00
wancat
14663476ae
Setup Tailwind
2023-07-14 21:26:23 +08:00
wancat
ad4dc6d576
Setup ESLint + Prettier, Re-setup Express
2023-07-14 21:19:53 +08:00
wancat
f32fcd2508
Init project with Vue & Express monorepo
2023-07-14 20:51:39 +08:00