Skip to content

Releases: rand777gg/react-practice-web

v1.20.0-alpha

Choose a tag to compare

@rand777gg rand777gg released this 23 Jul 12:27

Features

Online Code Judge — LeetCode-style function mode

  • New coding question type with full online judge support
  • Judge Edge Function via Piston API / native Deno execution
  • Two execution modes:
    • stdio mode: traditional stdin/stdout pattern
    • function mode: LeetCode-style function solution(...) pattern, framework auto-invokes and compares return values
  • Code editor with editable test cases panel
  • Per-testcase pass/fail result display
  • New submissions table for tracking code execution history

Admin Test Page

  • /admin/questions/test for quick question testing without saving to database
  • Search by ID or keyword, filter by type/subject
  • Full answer interaction identical to practice mode

DX Improvements

  • LeetCode-style Example 1/2/3 cards in question display
  • Function signature templates per language
  • Editable test cases when testing code

🤖 Generated with Claude Code

v1.19.3

Choose a tag to compare

@rand777gg rand777gg released this 22 Jul 22:21
  • 练习模式新增 AI 题目解读功能:答题后点击题目右上角 AI 图标,流式获取题目详细讲解
  • 桌面端 6:4 左右分栏布局,弹簧动画面板从右侧滑入
  • 移动端右侧 Sheet 弹出面板
  • 设置页新增"AI 题目解读"开关(默认关闭),需手动开启
  • 使用 DeepSeek 流式输出,实时渲染 Markdown 内容
  • 支持重试、自动滚动、切题自动关闭

v1.19.2

Choose a tag to compare

@rand777gg rand777gg released this 22 Jul 21:48
  • 填空题支持部分无序判分(unordered_blanks),可指定特定空位无序匹配
  • 刷题快捷键扩展:支持不确定/纠错/收藏/太简单快捷键绑定
  • 太简单操作增加二次确认对话框,带键盘提示
  • 移动端优化:隐藏快捷键提示和快捷键设置区域
  • 键盘录制对话框移除 Enter 确认,改为按钮确认防止误触

v1.19.1

Choose a tag to compare

@rand777gg rand777gg released this 22 Jul 20:20

feat: add default landing page setting with admin/user role awareness

v1.19.0

Choose a tag to compare

@rand777gg rand777gg released this 22 Jul 20:11

feat: customizable practice shortcuts with keyboard visual recorder, sync conflict detection

v1.18.0-alpha

Choose a tag to compare

@rand777gg rand777gg released this 22 Jul 17:06

Features

  • Cloudflare Turnstile bot protection on login/register pages
  • JWT-based user authentication in manage-passkey & verify-totp Edge Functions
  • Expanded Terms of Service with detailed account protection methods
  • Comprehensive Privacy Policy with data collection scope, 2FA handling, third-party services
  • Login/Register UI refinements (divider width matching, \邮箱登录\ label)

Security

  • Edge Functions no longer trust userId from request body — now verify JWT token
  • Turnstile widget validates all login methods (email, GitHub OAuth, QR code)
  • TOTP secret isolated to service_role-only user_totp table
  • Passkey grace period now server-side (check-grace via last_used_at)

v1.18.0

Choose a tag to compare

@rand777gg rand777gg released this 22 Jul 18:28

refactor: consolidate R2 edge functions into single module with shared code

v1.17.15-rc

Choose a tag to compare

@rand777gg rand777gg released this 22 Jul 09:21

feat: passkey enhancements — custom names, platform icons, re-verify timeout; login & register page redesign

v1.17.14-beta

Choose a tag to compare

@rand777gg rand777gg released this 21 Jul 22:15

What's New

  • Passkey (WebAuthn) — add passkey as a 2FA option alongside TOTP, user can choose in settings
  • 新设备登录飞书通知 — detects new device by User Agent, sends Feishu webhook alert
  • Auth logging — login events recorded to auth_log table

Changes

  • 2FA method selector in settings (Passkey / Authenticator App)
  • login-notify Edge Function with rate-limited Feishu notifications
  • npm vulnerability fixes

Notes

  • Set FEISHU_WEBHOOK_URL to enable login notifications

v1.17.13

Choose a tag to compare

@rand777gg rand777gg released this 21 Jul 21:25

feat: missing-KP hint in progress, 未设置 filter in admin