Commit Graph
282 Commits
Author SHA1 Message Date

2026-08-14

lezi fff303a46e Update README.md 2026-08-14 17:12:24 +08:00
lezi e198a5c6c0 Merge pull request #28 from forumlify/feat/forum-settings-uploads-motion
feat: refine forum settings, uploads, and transitions
2026-08-14 10:48:24 +08:00
lezi-fun 5f81b819af fix: address automated review findings 2026-08-14 10:37:23 +08:00
lezi ba49a3ad9f Merge pull request #27 from forumlify/docs/readme-forumlify-org
docs: update repository links to forumlify/public
2026-08-14 10:19:19 +08:00
lezi-fun f5d173350b feat: refine forum settings uploads and transitions 2026-08-14 10:16:34 +08:00
lezi-fun 6202d89e26 fix: update cd command to match new clone directory name 2026-08-14 09:48:50 +08:00
lezi-fun 59edccac45 fix: update docker image reference to forumlify/public 2026-08-14 09:44:05 +08:00
lezi-fun a4b2e47bb2 docs: update repository links to forumlify/public 2026-08-14 09:43:06 +08:00

2026-08-13

lezi e85ced7319 Merge pull request #25 from forumlify/feat/forgot-password-recovery-code
feat: add recovery-code password reset to login
2026-08-13 15:33:16 +08:00
lezi-fun 62a23fb04c fix: clear reset secrets and isolate recovery tests 2026-08-13 15:24:04 +08:00
lezi-fun 63db81e498 feat: add recovery-code password reset to login 2026-08-13 15:13:30 +08:00
lezi-fun 36fc7cbeb8 ci: generate Codecov coverage from Node tests 2026-08-13 14:27:36 +08:00
lezi-fun 4b1481dd41 ci: flush Next coverage before upload 2026-08-13 14:15:08 +08:00
lezi-fun 8911455e5e docs: add Codecov coverage badge 2026-08-13 14:03:05 +08:00
lezi-fun acf5d40e57 ci: add Codecov bundle and test reporting 2026-08-13 13:58:46 +08:00
lezi-fun e6ac6ab03c ci: disable captcha for coverage tests 2026-08-13 13:44:22 +08:00
lezi-fun 053a04a2ea ci: run coverage on Node 24 2026-08-13 13:41:24 +08:00
lezi-fun a4fc48b613 ci: fix Node 20 test file discovery 2026-08-13 13:40:30 +08:00
lezi-fun c58cefdb5a ci: add Codecov coverage reporting 2026-08-13 13:37:35 +08:00
lezi 43dbb75048 Merge pull request #24 from forumlify/feat/path-navigation-settings-transitions-v2
feat: add path navigation and shared settings transitions
2026-08-13 13:27:24 +08:00
lezi-fun 84c9e97451 feat: add path navigation and shared settings transitions 2026-08-13 12:29:09 +08:00

2026-08-12

lezi-fun caad17d195 feat: animate reply loading state 2026-08-12 20:50:51 +08:00
lezi-fun 207b64b705 fix: unify home post card colors 2026-08-12 20:31:34 +08:00
lezi-fun 96e0e6f08e fix: prevent super admin demotion 2026-08-12 20:12:22 +08:00
lezi-fun 3840bb3c54 fix: support replies on legacy databases 2026-08-12 20:05:29 +08:00
lezi-fun 68b58851e8 fix: refine user post transitions 2026-08-12 19:34:42 +08:00
lezi-fun 352f1d57e6 docs: add Forumlify agent guide 2026-08-12 19:34:42 +08:00
lezi 56a5fc903e Update README.md 2026-08-12 10:49:50 +08:00
lezi-fun ac0bd3fe0e chore: add Next.js agent guidance 2026-08-12 10:25:35 +08:00
lezi-fun bbf3262aff feat: animate user profile transitions 2026-08-12 10:24:20 +08:00
lezi 8e67e82eb0 Update docker-compose.yml 2026-08-12 09:57:01 +08:00
lezi-fun 9ae54dff29 fix: synchronize post return handoff 2026-08-12 09:55:13 +08:00
lezi-fun 5e9909ac7a fix: reverse post return transition 2026-08-12 09:34:28 +08:00
lezi-fun 3b4b598ce5 fix: smooth pinned and loading animations 2026-08-12 09:14:55 +08:00
lezi-fun b9d6ca5da8 security: server-owned audit logs + fullscreen custom pages
Port upstream PR #22 + Lite style updates:
- lib/audit.js: server-side logAudit(req, action, userId), records
  IP from x-forwarded-for / cf-connecting-ip
- login/register/create_post/create_reply record server-side
- Remove client logEvent calls (AppProvider/NewPost/ReplyList)
- Remove forgeable POST /api/event-logs endpoint
- CustomPage: fullscreen immersive (fixed, 100vh-nav, mobile 56px
  nav offset) matching upstream Lite
2026-08-12 09:06:50 +08:00

2026-08-11

lezi-fun 45ace3ba75 cleanup: remove chain view + show-more, all replies always visible 2026-08-11 22:26:02 +08:00
lezi-fun 0aac277aea Revert "feat: reply chain view (sub-thread folding)"
This reverts commit 4c0f146338.
2026-08-11 22:22:18 +08:00
lezi-fun 4c0f146338 feat: reply chain view (sub-thread folding)
Build reply tree, show up to 3 children per reply. '继续此消息串' opens a dedicated chain view (only that reply + all descendants). '返回所有回复' goes back.
2026-08-11 22:21:09 +08:00
lezi-fun 84616ff4a1 feat: remove reply indicator, dynamic folding (min 3 replies)
Remove per-reply '正在回复 @xxx' indicator. Collapse replies: show count based on viewport height (min 3). Clean up unused CSS.
2026-08-11 22:07:10 +08:00
lezi-fun a57d29ceed feat: collapse replies (show last 5, 继续此消息串)
When >5 replies, show the latest 5 and a '继续此消息串 (还有N条回复)' button. Click to expand all. Discourse-style folding.
2026-08-11 22:03:12 +08:00
lezi-fun b18cd05455 fix: narrow-only reply-header wrap
Remove global flex-wrap, add @media (max-width:480px) flex-wrap: wrap. Wide: one line. Narrow: flex-wrap naturally wraps buttons as whole units (white-space:nowrap prevents text split).
2026-08-11 22:00:52 +08:00
lezi-fun 32fc3cb599 fix: reply-header flex-wrap (natural wrap, no text split)
Removed compact media query. reply-header gets flex-wrap: wrap so buttons wrap as whole units when width is insufficient (white-space:nowrap prevents text splitting).
2026-08-11 21:47:39 +08:00
lezi-fun f3586ef2aa fix: narrow screen compact reply buttons
Media query (max-width:480px): reply-header flex-wrap, smaller btn padding/ font-size, prevent overflow beyond card border.
2026-08-11 21:43:55 +08:00
lezi-fun 56912d28d6 fix: reply-delete-btn white-space:nowrap (prevent narrow-wrap split) 2026-08-11 21:41:43 +08:00
lezi-fun 6c100ff3a1 fix: reply chain uses reply_to_id (UUID) instead of reply_to_username
- reply_to_id UUID FK: precise parent tracking (username was ambiguous
  when same user wrote multiple replies in a chain)
- GET /api/replies: JOIN replies + users to return reply_to_username
- POST /api/replies: accept reply_to_id (UUID) instead of reply_to_username
- Frontend depth calc: follow reply_to_id chain (not username)
- Preview bar: resolve username from local replies by ID
- Indicator scroll: target by data-reply-id
2026-08-11 21:38:45 +08:00
lezi-fun 59d5fb89c0 fix: nested replies keep border-radius (was set to 0 by indent rule) 2026-08-11 21:33:44 +08:00
lezi-fun 16af1cfd41 fix: reply nesting depth + post detail card radius
- Replies: compute nesting depth via reply_to_username chain (depth
  tracking, max 5 levels, 18px indent per level)
- Post detail card: add border-radius var(--radius)
- Reply preview bar: cleaner bottom-border style (no blue box)
2026-08-11 21:31:06 +08:00
lezi-fun d9c4079619 style: reply hierarchy + cleaner reply-preview bar
- Replies with a reply_to target get left-border + indent (Discourse
  thread feel) via :has() selector
- Reply-box preview bar: removed blue box, now a clean bottom-border
  row (回复 @user + 取消 button)
- reply-to indicator: left border line, primary on hover
- Works in light & dark mode (uses --border/--text-light vars)
2026-08-11 21:22:20 +08:00
lezi-fun 4d0d5edec3 feat: Discourse-style reply-to indicator (↩ @username)
- replies table: add reply_to_username column
- POST /api/replies: accept reply_to_username param
- GET /api/replies: LEFT JOIN users to return reply_to_username
- ReplyList: submit replyTo as reply_to_username on create
- UI: each reply shows '↩ 正在回复 @username' indicator (clickable,
  scrolls to target reply)
- data-username attribute on .reply-item for scroll targeting
2026-08-11 21:18:18 +08:00
lezi-fun 7bf9e37036 fix: reply button always visible (mail-style icon), works on own replies
- Reply button: always visible (opacity 0.5), only icon (no text),
  hover → full opacity + primary color
- Works on own replies (no restriction on replying to self)
- Removed .reply-item:hover .reply-btn (was requiring parent hover)
2026-08-11 21:08:55 +08:00