Chen, Tai-Lin
5022e2ee05
refactor: update tailwind configure contant
2023-11-12 21:24:01 +08:00
dependabot[bot]
ea88837fde
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-12 21:24:01 +08:00
Lin, Hung-Shin
24b2c22c5c
feat: move out env from docker-compose.prod.yml
2023-11-12 21:23:41 +08:00
Lin, Hung-Shin
77fffda1b8
feat: remove username length limit
2023-11-12 21:23:12 +08:00
Lin, Hung-Shin
96de0335f0
feat: refactor frontend auth error handling
2023-11-12 21:23:12 +08:00
wancat
14bde27127
fix: update frontend error handling
2023-11-12 21:23:12 +08:00
wancat
cbe7adc3f8
feat: add error handling for choose username
2023-11-12 21:23:12 +08:00
wancat
20225093c6
feat: add rate limit for authentication
...
* improve error handling in frontend
2023-11-12 21:23:12 +08:00
wancat
265352d8c6
feat: add validation for login
2023-11-12 21:23:12 +08:00
wancat
643813d69d
feat: complete register validation
...
* add password policy in frontend
2023-11-12 21:23:12 +08:00
wancat
1d2ad733ed
feat: setup proxy and x-forwarded-for header
2023-11-12 21:23:12 +08:00
wancat
ed14491cfc
feat: socket error handling
...
* create a new session when failed to connect to socket
* reset termnal on connect
2023-11-12 21:23:12 +08:00
wancat
2639c0ddda
refactor: centralize all variable to sessionManager
2023-11-12 21:23:12 +08:00
wancat
801d1aa07b
refactor: add getOrCreateSession to simplify process
2023-11-12 21:23:12 +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
8a0512aac8
feat: clear terminal on reset
...
* TODO: have some trailing
2023-10-30 13:58:33 +08:00
Lin, Hung-Shin
0392fe9a65
refactor: separate Terminal instance
2023-10-30 13:55:10 +08:00
CHEN, TAI-LIN
f418410d04
Update tailwind.config.js
2023-10-30 13:45:26 +08:00
Chen, Tai-Lin
7c8c4df922
fix: fixed error message color
2023-10-30 13:34:22 +08:00
wancat
917083ad30
fix: remove debugging console log
2023-10-29 17:42:31 +08:00
wancat
d724f97403
feat: add pending signal to status
2023-10-29 17:42:31 +08:00
Lin, Hung-Shin
38f3dbcd65
feat: install docker cli in backend
...
* change the copy order to improve performance
2023-10-29 17:41:38 +08:00
Lin, Hung-Shin
579d53a273
feat: refactor dockerfiles
...
* combine dev and prod into multi-stages dockerfile
* replace node with node:20-alpine to reduce image size
2023-10-29 17:41:38 +08:00
Chen, Tai-Lin
b4a37f7606
fix: remove order in game schema
2023-10-29 17:41:38 +08:00
Chen, Tai-Lin
9e12657def
fix: modify tree color
2023-10-27 15:58:46 +08:00
Chen, Tai-Lin
ea81f2feb4
fix: hide unimplemented buttons
2023-10-26 15:07:04 +08:00
Chen, Tai-Lin
00fcf353ba
fix: improve game page UI
2023-10-26 14:52:02 +08:00
Chen, Tai-Lin
93d4f9d46b
fix: Improve log-in page UI
2023-10-26 14:52:02 +08:00
Lin, Hung-Shin
c76f877255
Update index.html
2023-10-26 13:13:04 +08:00
Lin, Hung-Shin
64596b57dc
Add analytics script
2023-10-15 07:48:05 +08:00
Annie Huang
d55bfc54a0
Add username instruction
2023-10-15 00:23:26 +08:00
wancat
6f8d297b04
fix: change complete modal title
2023-10-14 23:04:39 +08:00
wancat
5e1457c007
feat: show modal on quest completing
...
TODO: use setTimeout for now
need to change to capture user's activity in container in the future
2023-10-14 22:52:57 +08:00
wancat
4ad1b865d6
feat: add survey modal ui
2023-10-14 22:44:11 +08:00
Lin, Hung-Shin
5c7acd88ca
refactor: reuse AuthForm in ChooseUsernamePage
2023-10-13 17:21:10 +08:00
Lin, Hung-Shin
c5ccf03ac5
feat: add username and email check in frontend
2023-10-13 16:38:25 +08:00
Lin, Hung-Shin
30aeacaf06
feat: separate Login and Register Page
2023-10-13 16:13:25 +08:00
wancat
182fcf643f
feat: pick username
...
* put new registered social login user to session data
* ask to choose username
* simplify checkUsername functions
2023-10-13 00:05:59 +08:00
Annie Huang
3da0afb356
Fix ui spelling
2023-10-12 16:18:58 +08:00
Annie Huang
ad5344c98b
feat: github auth
2023-10-12 16:12:07 +08:00
Lin, Hung-Shin
6654f8880a
fix: display block only when social logins enabled
...
* text-m -> text-base
2023-10-11 10:50:22 +08:00
Lin, Hung-Shin
50bed23d37
fix: remove unnecessary console log
2023-10-05 14:22:47 +08:00
Lin, Hung-Shin
72b2711367
feat: make social login optional
2023-10-05 13:32:02 +08:00
Lin, Hung-Shin
9ac7fc9752
feat: add login with google in frontend
...
fix vite proxy setting
2023-10-05 12:02:23 +08:00
Annie Huang
dfd417401f
update: use tailwind color setting
2023-09-28 16:15:24 +08:00
Annie Huang
2fc9784477
update: hint reassign, UI
2023-09-28 14:42:17 +08:00
Annie Huang
764f558307
hintpart rebase
2023-09-27 23:26:57 +08:00
wancat
b8e520152b
fix: change cookie setting, prevent form trigger twice
2023-09-18 23:37:25 +08:00
wancat
45231dda11
fix: update client to authenticate by session
2023-09-18 22:51:20 +08:00
wancat
d939b7eb4d
feat: add loggedIn checks for frontend
2023-09-17 12:29:45 +08:00