gpt-engineer-app[bot]
439653fa2f
Remove on-premise Supabase test code
...
Remove code related to on-premise Supabase testing.
2025-03-15 22:35:44 +00:00
gpt-engineer-app[bot]
af52ec897f
Execute SQL queries
...
Run the provided SQL queries to create tables.
2025-03-15 16:34:20 +00:00
gpt-engineer-app[bot]
1136683b57
Ensure useBudget is within BudgetProvider
...
The useBudget hook was throwing an error when used outside of a BudgetProvider. This commit ensures that the useBudget hook is always used within a BudgetProvider to prevent this error.
2025-03-15 16:32:07 +00:00
gpt-engineer-app[bot]
2fa7423071
Fix: TypeScript error in EmailConfirmation.tsx
...
The commit addresses a TypeScript error, specifically `TS2304: Cannot find name 'useState'`, encountered in `EmailConfirmation.tsx`. The change will likely involve importing the `useState` hook from `react`.
2025-03-15 16:30:49 +00:00
gpt-engineer-app[bot]
2eb9dbfe64
Troubleshoot email confirmation issues
...
Investigate and address problems related to users not receiving email confirmation messages.
2025-03-15 16:30:05 +00:00
gpt-engineer-app[bot]
110f01f4ff
Handle sign-up callback
...
Handle the callback after a user signs up.
2025-03-15 16:25:22 +00:00
gpt-engineer-app[bot]
a735dee195
Refactor signUpUtils.ts file
...
The signUpUtils.ts file was refactored into smaller components to improve code readability and maintainability.
2025-03-15 16:19:27 +00:00
gpt-engineer-app[bot]
5d1ff46c3e
Refactor RegisterForm component
...
Splits the RegisterForm component into smaller, more manageable components to improve code readability and maintainability.
2025-03-15 16:18:10 +00:00
gpt-engineer-app[bot]
7024c6423f
Fix signup redirect URL
...
The signup redirect URL was incorrect, leading to issues with email verification. This commit fixes the URL to ensure proper redirection after signup.
2025-03-15 16:15:59 +00:00
gpt-engineer-app[bot]
4d094fbaa8
Implement email verification on signup
...
The prompt requests to implement email verification logic during the signup process.
2025-03-15 16:11:04 +00:00
gpt-engineer-app[bot]
d3d746c9ef
Improve login error message
...
Update the login error message to be more specific when authentication fails due to incorrect email or password.
2025-03-15 16:08:01 +00:00
gpt-engineer-app[bot]
68a4d93426
Configure Supabase Cloud connection
...
Configures the application to connect to a Supabase Cloud instance.
2025-03-15 16:04:45 +00:00
gpt-engineer-app[bot]
e40442f9cf
Connect to Supabase project
...
Add Supabase configuration and types to the project.
2025-03-15 16:03:22 +00:00
gpt-engineer-app[bot]
b434695292
Update error message
...
Update error message when signup is not allowed.
2025-03-15 15:56:01 +00:00
gpt-engineer-app[bot]
55958e9362
Update error message
...
Update the error message displayed during sign-up.
2025-03-15 15:52:33 +00:00
gpt-engineer-app[bot]
348194ccec
Investigate login/signup failure
...
Investigate and address the "Failed to fetch" error during signup and login failures.
2025-03-15 15:48:52 +00:00
gpt-engineer-app[bot]
f25d55690d
Refactor supabase client file
...
Refactor the supabase client file into smaller modules.
2025-03-15 15:44:11 +00:00
gpt-engineer-app[bot]
1c3c4f37e0
Update CORS proxy configuration
2025-03-15 15:41:32 +00:00
gpt-engineer-app[bot]
0f4f426dd4
Debug login issues in lovable app
...
Investigate and address potential causes of login failures in the lovable app, including API request format discrepancies, cached token issues, and network problems.
2025-03-15 15:36:57 +00:00
gpt-engineer-app[bot]
03fcc7175c
Improve sign-in API handling
...
Improve sign-in API handling to ensure successful login.
2025-03-15 15:33:30 +00:00
gpt-engineer-app[bot]
44b4e456dd
Implement code changes
...
The AI implemented the code changes as requested.
2025-03-15 15:27:27 +00:00
gpt-engineer-app[bot]
9e7cd1f074
Update default API URL
...
Update the default Supabase API URL to http://a11.ism.kr .
2025-03-15 15:20:26 +00:00
gpt-engineer-app[bot]
0f07edaa98
Fix: Correct signUp type definition
...
The signUp function in AuthContextType was expecting only two arguments (email, password) but the RegisterForm component was passing three arguments (email, password, username). This commit updates the AuthContextType definition to match the actual usage in the RegisterForm component, resolving the TypeScript error.
2025-03-15 15:18:01 +00:00
gpt-engineer-app[bot]
3c96a9deac
Improve authentication error handling
...
- Enhance error messages for authentication failures.
2025-03-15 15:16:15 +00:00
gpt-engineer-app[bot]
b2d444a9bc
Fix type errors in Login page
...
The properties `isOfflineMode` and `setIsOfflineMode` were missing in the type definition of the `useLogin` hook return value, causing type errors in the Login page. This commit adds these properties to the type definition, resolving the errors. Also, the properties were missing in the LoginFormProps interface, so they were added there as well.
2025-03-15 15:13:21 +00:00
gpt-engineer-app[bot]
60adc4ce1f
Remove offline mode
...
The offline mode was removed to focus on resolving connection issues instead of providing a workaround.
2025-03-15 15:06:37 +00:00
gpt-engineer-app[bot]
e52ca26cef
Investigate login/register 404 errors
...
Investigate and address persistent 404 errors occurring during login and registration processes.
2025-03-15 15:01:48 +00:00
gpt-engineer-app[bot]
a32eb26105
Fix const reassignment error
...
The code was attempting to reassign a const variable, which is not allowed in JavaScript. This commit fixes the error.
2025-03-15 14:58:21 +00:00
gpt-engineer-app[bot]
8b783c741d
Fix Supabase Storage API calls
...
Corrected endpoint paths and authorization headers for Supabase Storage API calls.
2025-03-15 14:57:10 +00:00
gpt-engineer-app[bot]
09f6f9d5fa
Refactor Register page components
...
Splits the Register page into smaller, more manageable components for better organization and maintainability.
2025-03-15 13:52:41 +00:00
gpt-engineer-app[bot]
4a39c61976
Fix import path in Register
...
Corrected the import path for auth.utils in Register.tsx to resolve module not found error.
2025-03-15 13:51:31 +00:00
gpt-engineer-app[bot]
30d214b367
Refactor signIn and signUp
...
Refactor signIn.ts and signUp.ts files to improve maintainability.
2025-03-15 13:50:46 +00:00
gpt-engineer-app[bot]
5b73eddd4f
Refactor auth.utils.ts
...
Refactor auth.utils.ts into smaller modules for better organization and maintainability. Split functions into networkUtils.ts, responseUtils.ts, and toastUtils.ts based on their purpose.
2025-03-15 13:48:29 +00:00
gpt-engineer-app[bot]
76f9b3b4df
Update error messages
...
Update error messages to provide more clarity.
2025-03-15 13:27:38 +00:00
gpt-engineer-app[bot]
dc0e94d352
Investigate Supabase connection issues
...
Investigate the cause of "Unexpected end of JSON input" error despite successful Supabase connection test.
2025-03-15 13:24:11 +00:00
gpt-engineer-app[bot]
5853e5f51b
Remove offline mode option
...
This commit removes the offline mode functionality and focuses on resolving server-side issues.
2025-03-15 13:20:51 +00:00
gpt-engineer-app[bot]
4f8b1c0189
Fix login and registration issues
...
Addresses issues preventing successful login and registration.
2025-03-15 13:16:19 +00:00
gpt-engineer-app[bot]
9ab2bf722a
Refactor useLogin hook
...
Refactor the useLogin hook to separate login and table setup logic for better maintainability.
2025-03-15 13:11:33 +00:00
gpt-engineer-app[bot]
f335a381e3
Refactor Supabase setup file
...
Refactor src/lib/supabase/setup.ts into smaller files for better maintainability and readability.
2025-03-15 13:10:22 +00:00
gpt-engineer-app[bot]
068482e8e6
Refactor authActions module
...
Refactor authActions.ts into smaller files for better maintainability and readability.
2025-03-15 13:08:22 +00:00
gpt-engineer-app[bot]
8931ee4bb6
Fix TS2339 error in useLogin
...
The property 'user' might not exist on the returned object from signIn.
Handle the case where user is undefined.
2025-03-15 13:07:14 +00:00
gpt-engineer-app[bot]
a8537d5398
Investigate table creation API
...
Explore the possibility of creating tables directly via the Supabase API.
2025-03-15 13:05:45 +00:00
gpt-engineer-app[bot]
4bacba4719
Fix login failure after connection
...
Addresses an issue where login fails with a "Unexpected end of JSON input" error after a successful Supabase connection.
2025-03-15 13:02:55 +00:00
gpt-engineer-app[bot]
5fd4c183eb
Update Supabase connection tests
...
Improve error handling for REST API and database connection tests.
2025-03-15 12:55:36 +00:00
gpt-engineer-app[bot]
b30fb33384
Fix testAuth arguments
...
The testAuth function in src/lib/supabase/tests/index.ts was called with only one argument, but it expects two. This commit fixes the issue by passing the supabase URL as the second argument to the testAuth function.
2025-03-15 12:51:07 +00:00
gpt-engineer-app[bot]
971a1d29e5
Refactor SupabaseConnectionTest component
...
The SupabaseConnectionTest component was refactored into smaller, more manageable components to improve readability and maintainability.
2025-03-15 12:45:12 +00:00
gpt-engineer-app[bot]
1e6d360d69
Fix type error in SupabaseConnectionTest
...
The TestResults type was not assignable to the TestResult type in the SupabaseConnectionTest component. This commit ensures the types are compatible.
2025-03-15 12:43:46 +00:00
gpt-engineer-app[bot]
dc92138a48
Fix TypeScript errors
...
Fixes TypeScript errors related to missing exports and incorrect function arguments.
2025-03-15 12:41:06 +00:00
gpt-engineer-app[bot]
73184782ec
Refactor SupabaseSettingsForm component
...
The SupabaseSettingsForm component was refactored into smaller, more manageable components to improve readability and maintainability.
2025-03-15 12:39:59 +00:00
gpt-engineer-app[bot]
e687047401
Refactor Login component
...
Splits the Login component into smaller, more manageable parts and extracts related logic into hooks to improve code organization and readability.
2025-03-15 12:39:09 +00:00