Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: auto_login=off error on login and editing a user + FE tests #3471

Merged
merged 9 commits into from
Aug 21, 2024

Commits on Aug 21, 2024

  1. 🐛 (users.py): Fix issue where user password was not being updated cor…

    …rectly
    
    📝 (constants.ts, authContext.tsx, index.tsx): Add LANGFLOW_REFRESH_TOKEN constant and update related code to support refresh token functionality
    📝 (userManagementModal/index.tsx): Update form reset logic and handle input values correctly
    📝 (LoginPage/index.tsx, LoginAdminPage/index.tsx): Update login function to include refresh token parameter
    📝 (components/index.ts, auth.ts): Update inputHandlerEventType to support boolean values
    
    ✨ (auto-login-off.spec.ts): Add end-to-end test for user login functionality with auto_login set to false, CRUD operations for users, and verification of user flows visibility based on permissions.
    Cristhianzl committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    594bc1f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    720dade View commit details
    Browse the repository at this point in the history
  3. ✨ (auto-login-off.spec.ts): improve test description for better clari…

    …ty and understanding
    
    📝 (auto-login-off.spec.ts): add comments to clarify the purpose of intercepting requests and performing CRUD operations
    Cristhianzl committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    6f265d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f250892 View commit details
    Browse the repository at this point in the history
  5. 🐛 (users.py): fix comparison of password to check for None using 'is …

    …not None' instead of '!= None' for better accuracy
    Cristhianzl committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    9ad4ece View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    15183ba View commit details
    Browse the repository at this point in the history
  7. 🐛 (auto-login-off.spec.ts): fix response object structure and status …

    …code to properly mock API response
    
    🐛 (auto-save-off.spec.ts): fix response object structure and status code to properly mock API response
    Cristhianzl committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    62ee259 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0a3bfba View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    693dbc3 View commit details
    Browse the repository at this point in the history