Commit Graph

269 Commits

Author SHA1 Message Date
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
qzl 53c72e48e6 docs: update Flutter auth plan with refresh token auto-refresh 2026-02-25 14:25:17 +08:00
qzl 070ee9b122 docs: add Flutter auth integration implementation plan 2026-02-25 14:05:29 +08:00
qzl 56e5c66291 docs: add Flutter auth integration design 2026-02-25 14:00:22 +08:00
qzl 372be9e676 docs: remove outdated runtime and auth design plans 2026-02-25 13:35:35 +08:00
qzl 1cc8fa1abf feat(auth): switch signup to OTP verification flow
Replace legacy signup with start/verify/resend endpoints, add OTP-focused mail templates and auth rate limits, and align compose/env/runbook for local self-hosted Supabase OTP behavior.
2026-02-25 13:34:02 +08:00
qzl 02e5e52e1f fix: add navigation links and account screen
- Fix empty onPressed handlers in login/home screens
- Add todo/calendar toggle navigation in bottom dock
- Fix message invite detail path (/messages/invites/:id)
- Add account screen with logout/switch account dialogs
- Add /settings/account route
2026-02-25 12:06:14 +08:00
qzl fa1164afa8 feat(router): add all feature routes 2026-02-25 11:22:58 +08:00
qzl 052ab1ff37 feat(settings): add settings, features and memory screens 2026-02-25 11:18:28 +08:00
qzl b397d51dcc feat(calendar): add dayweek, month and event detail screens 2026-02-25 11:12:24 +08:00