Commit Graph

287 Commits

Author SHA1 Message Date
57eb27ce5e chore(deps): add postcss-github-markdown-css package 2025-03-06 21:18:51 +08:00
8c67d2696d chore(env): add .env.example with PostgreSQL connection string example 2025-03-06 16:58:53 +08:00
16cc459f2d chore(env): rename .env.example to .env.local.example 2025-03-06 16:52:27 +08:00
93c6e66d78 feat(components/ui): add Table component from shadcn/ui 2025-03-06 16:41:19 +08:00
cce95d76d5 chore(docker): copy prisma folder before installing dependencies 2025-03-06 14:43:23 +08:00
173fb3cb29 chore(dockerignore): add exception for prisma/schema.prisma 2025-03-06 14:39:44 +08:00
5ac5c92798 chore(deps): add postinstall script to run prisma generate 2025-03-06 14:38:54 +08:00
214f4fabef chore(lib): add prisma client initialization 2025-03-06 11:29:10 +08:00
aacd5dccde chore(package): add prisma seed script to package.json 2025-03-06 11:27:33 +08:00
e69ac90f58 chore(git): update .gitignore to exclude prisma migrations folder 2025-03-06 11:21:30 +08:00
da04f9718b chore(docker): update .dockerignore to exclude prisma folder 2025-03-06 11:20:37 +08:00
e3b45a05af chore(deps): add @prisma/client package 2025-03-06 11:17:54 +08:00
e63fc13a8e chore(deps): add prisma and tsx packages 2025-03-06 10:45:39 +08:00
ef3114e68b chore(docker): remove QEMU setup and platform specification
Some checks failed
Docker Build and Push / docker-build-and-push (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 14s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-c) (push) Failing after 17s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-cpp) (push) Failing after 13s
2025-03-06 10:27:51 +08:00
63fd9a4a45 chore(docker): change default USER to root in Dockerfile and remove user: root in Compose
Some checks failed
Docker Build and Push / docker-build-and-push (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 18s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-c) (push) Failing after 15s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-cpp) (push) Failing after 15s
2025-03-06 00:32:56 +08:00
1bdae1d458 chore(dockerignore): remove env* pattern from .dockerignore
Some checks failed
Docker Build and Push / docker-build-and-push (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 21s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-c) (push) Failing after 15s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-cpp) (push) Failing after 14s
2025-03-05 22:50:36 +08:00
2ac6457f01 chore(docker): update .dockerignore to exclude additional files and folders 2025-03-05 21:30:03 +08:00
0d29c56750 feat(language-server): add logging for URL creation in connectToLanguageServer 2025-03-05 19:21:55 +08:00
f4ce0e594d feat(dockerfile): support bun.lockb file 2025-03-05 16:23:10 +08:00
4e1a185036 docs(readme): improve setup instructions with pre-built Docker images 2025-03-05 16:19:02 +08:00
3e94bf07a6 chore(docker): update docker compose configuration to use pre-built images 2025-03-05 15:58:44 +08:00
7ade2f8e90 fix(docker): update matrix strategy for clearer context and file assignment
Some checks failed
Docker Build and Push / docker-build-and-push (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 15s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-c) (push) Failing after 13s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-cpp) (push) Failing after 13s
2025-03-05 15:44:26 +08:00
bb06fafe78 chore(workflow): refactor Docker build and push workflow with matrix strategy 2025-03-05 15:38:55 +08:00
c29e62b1e0 chore(workflow): add Checkout step to GitHub Actions workflow 2025-03-05 14:54:50 +08:00
922872e3a9 fix(actions): update context path from './' to '.' 2025-03-05 14:50:02 +08:00
3895a2e5b7 fix(actions): correct Dockerfile path parameter to 'file' in GitHub Actions workflow 2025-03-05 14:44:23 +08:00
e903df067b feat(workflow): add Docker build and push automation 2025-03-05 14:15:54 +08:00
5f79671aa5 refactor(code-editor): dynamically fetch lspConfig from LanguageServerConfig 2025-03-05 13:29:17 +08:00
9ef83d99b6 chore(images): replace demo image with new version 2025-03-05 10:30:27 +08:00
353aff9b4d refactor(header, reset-button, useCodeEditorStore): remove unnecessary value prop and refactor related components 2025-03-05 10:18:06 +08:00
3336a9f1d0 feat(config/problem): add TEMP_DEFAULT_EDITOR_VALUE 2025-03-05 09:36:38 +08:00
a33033b48d refactor(config/judge.ts, types/judge.ts): split judge configuration and types 2025-03-05 09:27:00 +08:00
808dd96a50 feat(language-selector): update language selector logic and integrate LSP config 2025-03-05 08:46:44 +08:00
d33f214450 refactor(button): refactor ResetButton to accept value prop 2025-03-05 08:34:54 +08:00
2a47b469b0 feat(language-server): add environment variable support for configuration 2025-03-05 08:33:38 +08:00
470fa306c2 feat(editor): add language icon support 2025-03-05 08:32:33 +08:00
ca82b94b0f refactor: replace old SUPPORTED_LANGUAGES config with new EditorLanguageConfig config 2025-03-05 08:30:58 +08:00
753422ebf4 refactor: remove unused editor and language config files 2025-03-05 08:28:52 +08:00
527c52abbc feat(editor): refactor code editor with LSP support and state management 2025-03-05 00:33:19 +08:00
0c94bb2fa3 refactor(store): restructure code editor store and update configuration 2025-03-05 00:31:57 +08:00
a920cbc4b8 refactor(utils): rename languageServerConfigs to LanguageServerConfig 2025-03-04 21:28:47 +08:00
398928d933 style(editor): format code style for consistency 2025-03-04 21:27:53 +08:00
d89a45daa8 feat(editor): update loading state with padding and refactor dynamic import 2025-03-04 21:26:51 +08:00
0c1ecbcff2 feat(editor): initialize CoreEditorLsp component 2025-03-04 21:05:23 +08:00
598ca75829 feat(editor): add default editor options configuration 2025-03-04 21:02:16 +08:00
af23dd3289 feat(editor): add language server connection via WebSocket 2025-03-04 20:58:06 +08:00
742a827072 feat(language-server): add configuration for C and C++ 2025-03-04 20:53:19 +08:00
1f417fb4e6 feat(shiki): improve Shiki highlighter initialization with dynamic theme and language support 2025-03-04 20:29:21 +08:00
6d9c6701d4 feat(monaco-theme): update Monaco theme configuration with label metadata 2025-03-04 20:29:07 +08:00
ec9f3b2475 feat(editor-language): update language configurations and types for C and C++ 2025-03-04 20:28:41 +08:00