Commit Graph

17 Commits

Author SHA1 Message Date
lafay
4d25bf00ba feat(posts): add @mention highlighting and vote segment display
All checks were successful
Admin CI / build-and-push-web (push) Successful in 2m59s
- Parse post content to highlight @mentions with blue styling
- Render vote segments from post data with formatted options display
- Add MessageSegment interface and segments/is_vote fields to Post type
- Update API base URL and branding from Carrot BBS to WithYou
2026-04-25 13:01:36 +08:00
lafay
2d1dc3673a feat(comments): add moderation functionality and batch operations
All checks were successful
Admin CI / build-and-push-web (push) Successful in 1m35s
Add API methods, type definitions, and UI components for approving or
rejecting comments individually and in bulk. Update the Comment interface
to include moderation tracking fields and integrate admin controls into
the comments management page.
2026-04-14 02:13:39 +08:00
lafay
f20140f4ea refactor(posts): use PostImage type for images in PostDetail 2026-04-10 13:20:00 +08:00
lafay
0b16613be4 fix(materials): handle API response format and color rendering
Some checks failed
Admin CI / build-and-push-web (push) Failing after 1m43s
Update the subjects API to handle the nested list structure in the response, and fix color rendering by using direct inline styles instead of CSS custom properties that weren't being properly applied
2026-04-10 01:16:38 +08:00
lafay
4991dae691 feat(types): add image types and enhance Post/Comment interfaces
Some checks failed
Admin CI / build-and-push-web (push) Failing after 2m17s
Add PostImage and CommentImage types for handling post/comment images. Update
Post interface with likes_count, comments_count, views_count, and images.
Update Comment interface with likes_count, replies_count, and images. Add
display_name and priority to Role type. Include dynamic color CSS utilities
and UI enhancements for Comments/Posts pages. Add defensive empty array
fallback for subjects data.
2026-04-10 01:11:15 +08:00
lafay
7e91c81d86 refactor(api): remove unused User import from verifications module
All checks were successful
Admin CI / build-and-push-web (push) Successful in 1m58s
2026-04-08 16:40:19 +08:00
lafay
0f86e5b9ee feat(verifications): add identity verification management for admin panel
Some checks failed
Admin CI / build-and-push-web (push) Failing after 6m11s
Add new verifications module including API endpoints for retrieving and reviewing user identity verifications, along with corresponding admin page, routing, and sidebar navigation entry.
2026-04-05 20:26:57 +08:00
lafay
00b79681a0 refactor(types): add TypeScript type assertion for channel API response
All checks were successful
Admin CI / build-and-push-web (push) Successful in 4m53s
Add explicit type casting to handle potential channel data response formats, improving type safety and IDE autocomplete for Channel data structures.
2026-04-04 00:43:09 +08:00
lafay
bfb018b766 fix(api): handle varying API response formats in channels data retrieval
Some checks failed
Admin CI / build-and-push-web (push) Failing after 2m29s
Add defensive check to handle both direct array responses and nested list format from API, ensuring consistent channel data display regardless of response structure.
2026-04-04 00:38:52 +08:00
lafay
740bfc76fa build(config): update API endpoint to production URL and remove dev proxy
All checks were successful
Admin CI / build-and-push-web (push) Successful in 1m52s
Changes the default API base URL from local development server (127.0.0.1:8080) to the production endpoint (bbs.littlelan.cn) and removes the Vite dev server proxy configuration, as the application now connects directly to the production API.
2026-04-04 00:31:53 +08:00
lafay
dacad1587a refactor(ui): clean up unused imports and variables in UI components
All checks were successful
Admin CI / build-and-push-web (push) Successful in 3m48s
2026-04-04 00:25:18 +08:00
lafay
ff77b46f79 build: add Docker and nginx configuration for deployment
Some checks failed
Admin CI / build-and-push-web (push) Failing after 2m50s
Added Dockerfile.web for containerizing the web application and nginx.conf
for serving the application in production. Also included .gitea/ directory
for CI/CD configuration.
2026-04-04 00:20:45 +08:00
lafay
3e06cfde76 Enhance Reports page with safe date formatting, improved status colors and icons, and add statistics display for report statuses. 2026-03-30 18:01:38 +08:00
lafay
e7c9ee5159 Add reports management to Sidebar and API index; introduce new route for reports with appropriate guard 2026-03-29 20:13:32 +08:00
lafay
c71e6c6587 Add channels management to Sidebar and API index; update MaterialSubjects for icon handling 2026-03-26 01:27:59 +08:00
lafay
2910dd6ccf Enhance Sidebar with new menu items for materials management and update TypeScript configuration. Add subjects and materials APIs to the API index. Introduce new routes for materials and subjects with appropriate guards. 2026-03-25 20:44:27 +08:00
lan
890c33f510 Initial commit 2026-03-14 18:24:33 +08:00