Commit Graph

166 Commits

Author SHA1 Message Date
783b8415ea refactor(editor): integrate ProblemEditorProvider for workspace editor 2025-03-20 14:44:17 +08:00
8ab8892388 fix(auth): improve credential validation and password verification
Some checks failed
Build & Push Monaco Docker Image / build-and-push-monaco-docker-image (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 0s
2025-03-19 08:34:15 +08:00
919016cf27 fix(auth): update error message for sign-in and sign-up functions 2025-03-18 23:24:36 +08:00
bef8dcee44 feat(auth): enhance signIn and signUp with error handling and form value types 2025-03-18 22:50:06 +08:00
c9c07664cf feat(layout): update Toaster position to top-right 2025-03-18 22:49:06 +08:00
63c0656f25 feat(auth): assign ADMIN role to the first user on sign up 2025-03-18 21:53:59 +08:00
b55ed07004 fix(Loading): update loading state rendering with skeletons for better UX
Some checks failed
Build & Push Monaco Docker Image / build-and-push-monaco-docker-image (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 0s
2025-03-18 19:49:03 +08:00
6c53c5ee32 refactor(page): replace accordion structure with LanguageServerAccordion component 2025-03-18 19:37:30 +08:00
bd085751b6 feat(component): add LanguageServerAccordion for language server settings 2025-03-18 19:36:36 +08:00
7eb6eedf22 feat(settings): add Suspense with Loading fallback in language server layout 2025-03-18 19:33:14 +08:00
ceb01aec59 feat(dashboard): add admin dashboard page 2025-03-18 14:58:19 +08:00
827fb26966 feat(language-server): add settings page for language server configuration 2025-03-18 14:45:45 +08:00
06c711bdaf feat(form): add language-server form for settings 2025-03-18 14:43:48 +08:00
494b899f09 feat(actions): add language server configuration handling 2025-03-18 14:33:51 +08:00
6ec039eeb5 feat(admin): add language server settings layout 2025-03-18 11:01:35 +08:00
168df31fad refactor(admin): replace breadcrumb with Navbar in dashboard layout 2025-03-18 10:40:03 +08:00
f266d9cdf7 feat(dashboard): remove guest prop and return notFound for non-ADMIN users 2025-03-17 12:06:48 +08:00
b403a0f977 refactor(components): extract NavUserProps and NavMainProps type and optimize type definitions 2025-03-17 11:35:05 +08:00
cb966297e1 refactor(app-sidebar): support external user prop and remove internal user data 2025-03-17 10:45:23 +08:00
36c6dd138f feat(dashboard): add layout component for dashboard 2025-03-17 10:07:00 +08:00
a5faab67c5 feat(components/ui): add Sidebar-07 component from shadcn/ui 2025-03-16 20:31:21 +08:00
af0ece8952 feat(judge): integrate Prisma for editor language configurations 2025-03-16 19:32:34 +08:00
332e019e70 feat(workspace/editor): add language server config support and optimize data fetching logic 2025-03-16 16:24:58 +08:00
ee4020f50f feat(workspace): pass editorLanguageConfigs to LanguageSelector and WorkspaceEditorHeader 2025-03-16 14:18:14 +08:00
d1188f5ea6 chore(components): move features to components/features
Some checks failed
Build & Push Monaco Docker Image / build-and-push-monaco-docker-image (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 1s
2025-03-16 12:05:59 +08:00
672b627ed1 chore(app): remove playground folder 2025-03-15 22:34:23 +08:00
3e4c58d953 refactor(AuthLayout): replace <a> with <Link> for better navigation 2025-03-15 00:11:51 +08:00
740bc1e00b feat(problemset): optimize database query by selecting specific fields 2025-03-14 18:59:44 +08:00
cd50e73fc9 refactor(auth): extract saltRounds constant 2025-03-14 17:15:38 +08:00
468e72e9a8 feat(auth): add sign up and sign in functions with credentials 2025-03-14 17:06:19 +08:00
5f49d6841e feat(layout): add Sonner Toaster for toast notifications 2025-03-14 15:36:29 +08:00
bfaaf25732 feat(auth): add layout for authentication pages with redirect logic 2025-03-14 14:38:51 +08:00
2d872da445 feat(auth): add sign-in and sign-up pages 2025-03-14 14:37:32 +08:00
2f037f8a78 feat(layout): add Suspense with fallback loading for problemset layout 2025-03-13 11:24:24 +08:00
574a98e58e chore(auth): move auth.ts to src/lib directory 2025-03-12 22:46:01 +08:00
e6b4be4758 feat(problemset-layout): add AvatarButton to problemset layout 2025-03-12 21:17:14 +08:00
2679f52066 feat(RootLayout): add SettingsDialog component 2025-03-12 17:38:33 +08:00
012e0f7d05 fix(problem): remove unnecessary parseInt conversion for problem id 2025-03-12 15:32:14 +08:00
18ab071ca6 feat(auth): create route.ts for NextAuth API handler 2025-03-12 15:02:02 +08:00
eab62706e0 feat(problemset): add dynamic rendering for ProblemsetPage
Some checks failed
Build & Push Monaco Docker Image / build-and-push-monaco-docker-image (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 17s
2025-03-12 13:57:57 +08:00
c58ed38c03 feat(problemset): add sorting by id in problemset page 2025-03-12 12:52:50 +08:00
a7a50231d2 refactor(problems): use Suspense for lazy loading and adjust layout structure
Some checks failed
Build & Push Monaco Docker Image / build-and-push-monaco-docker-image (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 16s
2025-03-12 08:59:38 +08:00
ca2d663533 feat(playground): add min size constraints for resizable panels 2025-03-12 08:23:24 +08:00
84ac0a88dc feat(solution): add layout and page components for problem solution, including footer 2025-03-10 20:54:31 +08:00
4727c55bcc refactor(layout, page, description): update problem page layout and structure, including description fetching and TabsContent styling 2025-03-10 20:51:21 +08:00
8c847018f0 fix(theme): update code block styles to use useTheme hook value
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 14s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-cpp) (push) Failing after 14s
2025-03-09 20:30:02 +08:00
0868f45a10 chore(playground): comment out the import and usage of ProblemDescriptionFooter 2025-03-09 18:59:55 +08:00
849c8bc609 feat(page): deprecate /playground and redirect to /problemset
Some checks failed
Docker Build and Push / docker-build-and-push (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 38s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-c) (push) Failing after 18s
Docker Build and Push / docker-build-and-push (./docker/lsp/clangd, ./docker/lsp/clangd/Dockerfile, lsp-cpp) (push) Failing after 38s
2025-03-09 18:21:27 +08:00
0dbed9c284 feat(terminal): add TerminalTestcasePage with release info card 2025-03-09 18:17:18 +08:00
f3303fff3d feat(layout): add TerminalTestcaseLayout component for rendering testcase content 2025-03-09 18:16:28 +08:00