Commit Graph
378 Commits
Author SHA1 Message Date
Lin, Hung-Shin 4c2f3f5397 feat: put survey and bug report url to backend (#57)
* feat: put survey and bug report url to backend

* fix: centralize hardcoded url to config

* fix: validate url before redirecting
2023-11-03 21:32:12 +08:00
CHEN, TAI-LINandLin, Hung-Shin f93b4d757b fix: ui revise (#56)
* fix: ui revise

* fix: change to v-else

---------

Co-authored-by: Lin, Hung-Shin <wancat@wancat.cc>
2023-11-03 16:15:06 +08:00
Lin, Hung-Shin 21f97c051c Fix: UI revise (#50)
* Change tailwind.config.js structure
* Fix line break error in QuestPart.vue
2023-11-03 15:06:56 +08:00
Lin, Hung-Shin 3664df68b6 feat: add bug report url 2023-11-03 15:01:14 +08:00
Chen, Tai-Lin fd6d2e284b feat: add bug report button 2023-11-03 13:58:31 +08:00
Chen, Tai-Lin 5731d5de1a feat: improve UI and warning on mobile 2023-11-03 13:58:31 +08:00
Chen, Tai-Lin 82c68a316f fix: improve quest 2023-11-03 13:58:31 +08:00
Chen, Tai-Lin 2af1e4f742 fix: fix HTML title 2023-11-03 13:58:31 +08:00
Chen, Tai-Lin b552783c8c fix: fix space and line break issue 2023-11-03 13:58:31 +08:00
Chen, Tai-Lin e3300b7ea1 fix: add condition describe in AuthForm 2023-11-03 13:58:31 +08:00
Chen, Tai-Lin f66ba08049 update ChooseUsernamePage 2023-11-03 13:58:31 +08:00
Chen, Tai-Lin 778c3d1a92 remove catalog draft 2023-11-03 13:58:31 +08:00
Chen, Tai-Lin f62f910956 feat: add catalog draft 2023-11-03 13:58:31 +08:00
Chen, Tai-Lin b920891ddf fix: fix line break error in QuestPart 2023-11-03 13:58:31 +08:00
Chen, Tai-Lin 92daa99d93 refactor: update tailwind configure contant 2023-11-03 13:58:31 +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
Lin, Hung-Shin 733ef50a0a Merge pull request #54 from linux-odyssey/dependabot/npm_and_yarn/babel/traverse-7.23.2
build(deps): bump @babel/traverse from 7.22.8 to 7.23.2
2023-11-02 14:19:11 +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
Lin, Hung-Shin b6101c3453 Update ci_cd.yml 2023-11-02 14:13:00 +08:00
Lin, Hung-Shin c4b30e3a21 Merge pull request #49 from linux-odyssey/quest
Fix: Improve quest 'helloworld'
2023-11-02 13:27:00 +08:00
Lin, Hung-Shin 3da809e107 Merge pull request #36 from linux-odyssey/security
Security
2023-11-02 13:24:57 +08:00
Lin, Hung-Shin 72aded98b1 feat: move out env from docker-compose.prod.yml 2023-11-02 12:39:25 +08:00
Chen, Tai-Lin dd8987137d update quest 'helloworld' 2023-11-02 12:13:00 +08:00
Lin, Hung-Shin 14043b3f12 feat: specify trust proxies 2023-11-02 12:11:15 +08:00
Lin, Hung-Shin a5896e7c15 feat: remove username length limit 2023-11-02 11:36:53 +08:00
Lin, Hung-Shin b09aa0debf feat: refactor frontend auth error handling 2023-11-02 11:36:42 +08:00
wancat bcb9f1f803 fix: update frontend error handling 2023-11-01 23:30:28 +08:00
wancat af672791a5 feat: add cypress test script 2023-11-01 23:17:48 +08:00
wancat a5526d2dcf feat: setup default secretKey for development 2023-11-01 23:14:16 +08:00
wancat c008f82cb0 fix: container removal, no secretKey panic 2023-11-01 23:09:39 +08:00
wancat d4000eb5a6 feat: add validation before creating session 2023-11-01 22:59:32 +08:00
wancat bcfdf15559 feat: add error handling for choose username 2023-11-01 22:44:32 +08:00
wancat f65b72c5b4 feat: add rate limit for authentication
* improve error handling in frontend
2023-11-01 22:11:17 +08:00
wancat 203114cd5e feat: add validation for login 2023-11-01 21:35:25 +08:00
wancat fc6ac11c60 feat: complete register validation
* add password policy in frontend
2023-11-01 21:02:01 +08:00
Lin, Hung-Shin 1c9d69a8e0 feat: add validators for username, email, password
* not passed yet
2023-11-01 15:02:30 +08:00
Lin, Hung-Shin c551f0c92b fix: remove default user 2023-11-01 14:19:45 +08:00
Lin, Hung-Shin f18ec35a9f feat: generate secure secret key and prevent default 2023-11-01 14:19:18 +08:00
Chen, Tai-Lin b0fa4b50f7 fix: improve quest 'helloworld' content 2023-11-01 13:01:40 +08:00
wancat b9a79eb435 feat: add get ip endpoint
* rename handler
* change rate limit
2023-10-31 00:27:06 +08:00
wancat 3b9ea9ea50 feat: setup proxy and x-forwarded-for header 2023-10-31 00:15:39 +08:00
wancat c10b05c401 feat: add global and session rate limit 2023-10-30 23:46:39 +08:00
wancat 252781477a feat: socket error handling
* create a new session when failed to connect to socket
* reset termnal on connect
2023-10-30 23:31:58 +08:00
wancat 9c3c6adb16 refactor: centralize all variable to sessionManager 2023-10-30 23:12:50 +08:00
wancat 5a7c4da628 refactor: add getOrCreateSession to simplify process 2023-10-30 22:43:27 +08:00
wancat 11bc793b12 refactor: separate createSession to sessionManager 2023-10-30 22:10:25 +08:00
Lin, Hung-Shin 7843020524 feat: disable global network in player containers 2023-10-30 21:28:10 +08:00
Lin, Hung-Shin f8254b55c9 Merge pull request #45 from linux-odyssey/quest
Add new functions for quest:

* new condition logic `or` & `not`: able to create nested condition
* new condition `files`: checks if a file or folder exists in the container
  * not support globbing yet
* send "pending" status when executing story, and set it back after execution
* include completed stage id in command

Dockerfile refactor:
* use multi-staged building
* remove Dockerfile.dev

Container:

* use axios instead of `fetch`

Other improvements:

* deactivate other sessions when creating a new one
* clear terminal on reset
2023-10-30 14:42:34 +08:00
Lin, Hung-Shin 51bf06e2a7 feat: remove wait for enter in dialogue 2023-10-30 14:21:52 +08:00