Commit Graph

228 Commits

Author SHA1 Message Date
qzl 2994cc708c fix: update E2E tests for RESTful endpoints 2026-02-26 14:43:52 +08:00
qzl 8e493ae7fd docs: add runtime route documentation and AGENTS.md rule 2026-02-26 14:37:51 +08:00
qzl d635d9a5e0 refactor(frontend): adapt to RESTful API routes 2026-02-26 14:28:58 +08:00
qzl 5b8b584013 test: verify signup_start response only contains email 2026-02-26 14:12:39 +08:00
qzl 2709d88c68 test: update integration tests for RESTful routes 2026-02-26 14:08:10 +08:00
qzl 3cab7b03f7 refactor: Phase 2 - rename routes to RESTful style 2026-02-26 13:41:32 +08:00
qzl 4b707c7da1 fix: add missing get_user_repository function 2026-02-26 13:36:34 +08:00
qzl 04726b42cb refactor: Phase 1 - rename and simplify backend schemas 2026-02-26 13:33:02 +08:00
qzl c6eb58d8da docs: add RESTful API refactor design and plan 2026-02-26 13:18:36 +08:00
qzl cc7a70d793 fix(auth): correct resend response type and improve error messages 2026-02-26 12:13:50 +08:00
qzl 11666e6492 fix(auth): validation toast and rate limit adjustment 2026-02-26 12:07:40 +08:00
qzl 56bee56415 fix(auth): fixed width resend button with border 2026-02-26 11:59:22 +08:00
qzl 76620cde6f style(auth): simplify resend button to text link style 2026-02-26 11:53:06 +08:00
qzl d6113416c6 fix(auth): trigger AuthLoggedOut event on logout 2026-02-26 11:45:59 +08:00
qzl d50a1a0f8e fix(auth): show validation error toast on register form 2026-02-26 11:40:49 +08:00
qzl b80b9e795d fix(auth): allow immediate resend on first send failure 2026-02-26 11:31:35 +08:00
qzl a6fbf70ad5 fix(auth): reset state properly in sendCodeSilently 2026-02-26 11:28:33 +08:00
qzl 4f9889bb3f fix(auth): set failure status on sendCodeSilently error 2026-02-26 11:25:51 +08:00
qzl 8294c67d27 docs: cleanup old plans and add new design docs 2026-02-26 11:21:27 +08:00
qzl 656b2a1793 fix(auth): improve error toast trigger condition 2026-02-26 11:18:56 +08:00
qzl 74dc44b0b0 feat(auth): add toast feedback for code sending 2026-02-26 11:15:49 +08:00
qzl 8235ac5cd9 fix(auth): improve resendCode with status tracking and return value 2026-02-26 11:12:04 +08:00
qzl d1e224ece4 fix(auth): reset countdown after resend and add sending state 2026-02-26 11:06:16 +08:00
qzl 25b8a2b569 feat(auth): improve resend button style with countdown 2026-02-26 11:02:30 +08:00
qzl 1f253c54e9 feat(auth): add countdown timer for resend button 2026-02-26 10:58:29 +08:00
qzl deba6cc435 fix(auth): add navigation debounce for register next button 2026-02-26 10:52:44 +08:00
qzl 8f8b6ac263 feat(auth): optimistic navigation to verification screen 2026-02-26 10:48:48 +08:00
qzl 8e8bcfa4f5 fix(auth): prevent concurrent sendCodeSilently and add edge case tests 2026-02-26 10:46:16 +08:00
qzl 175da2a8b7 feat(auth): add sendCodeSilently with isSending state 2026-02-26 10:37:02 +08:00
qzl c9e91e7849 docs: add register verification UX optimization design 2026-02-26 10:27:54 +08:00
qzl 443977be9b fix(security): enforce defensive RLS for agent chat tables
Close Supabase advisor findings by enabling RLS and deny-by-default policies on new public agent-chat tables. Clarify backend RLS governance and incident runbook steps to prevent config-drift regressions.
2026-02-25 18:04:05 +08:00
qzl a88e42babd Merge branch 'feature/flutter-auth' into dev 2026-02-25 18:00:12 +08:00
qzl e20b1905cb fix(apps): consolidate FormzInput validators and fix login screen
- Move FormzInput validators to core/form_inputs/form_inputs.dart
- Fix login_screen.dart syntax error (missing 'class' keyword)
- Remove unused _isLoading field
- Fix unnecessary const keywords
- Update login_cubit and register_cubit imports
- Remove duplicate FormzInput definitions from register_cubit
- Add Toast and Banner UI feedback system
- Remove legacy login/register screens (login_code, login_email, login_password, register_step2)
- Remove unused warning_banner widget
- Update tests for new error messages and DI setup
2026-02-25 18:00:02 +08:00
qzl aa30054d64 docs(runtime): optimize runbook for ops workflow 2026-02-25 17:21:20 +08:00
qzl 36131cc001 docs: add runtime runbook optimization design 2026-02-25 17:12:43 +08:00
qzl 890de969cc merge: combine local dev updates into dev 2026-02-25 17:05:04 +08:00
qzl ce6388595b chore: snapshot local dev updates before merge 2026-02-25 17:04:17 +08:00
qzl 5148a678b8 Merge branch 'feature/agent-chat-core' into dev 2026-02-25 17:00:25 +08:00
qzl cd40b2b4f4 feat(agent-chat): complete core workflow and strengthen auth rate limiting 2026-02-25 16:51:12 +08:00
qzl d3bdb3ab4f feat(apps): add router auth protection 2026-02-25 15:25:31 +08:00
qzl 8c1dfa9987 feat(apps): integrate auth cubits with register and login screens 2026-02-25 15:21:26 +08:00
qzl 0a7e1cd2d4 feat(apps): add dependency injection configuration 2026-02-25 15:11:25 +08:00
qzl c9195b81b6 feat(apps): add LoginCubit for login form 2026-02-25 15:09:29 +08:00
qzl 89d2722241 feat(apps): add RegisterCubit for signup form 2026-02-25 15:05:29 +08:00
qzl 9b51c8b293 feat(apps): add AuthBloc for global auth state 2026-02-25 14:59:20 +08:00
qzl 3be03d8c74 fix(apps): improve auth repository tests 2026-02-25 14:55:07 +08:00
qzl b00cfc80ab feat(apps): add auth repository 2026-02-25 14:51:21 +08:00
qzl bfec6ffd7d feat(apps): add auth data models 2026-02-25 14:45:08 +08:00
qzl 23f5662e7b fix(apps): improve ApiInterceptor retry and error handling 2026-02-25 14:41:27 +08:00
qzl 75f4d2c3fb feat(apps): add core API infrastructure 2026-02-25 14:36:03 +08:00