Commit Graph

91 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
6553a3afc9 Reset budget and transactions
Resets budget data and transaction history as if the user is logging in for the first time.
2025-03-15 22:50:28 +00:00
gpt-engineer-app[bot]
44789fa388 Implement first-time user experience
- Implement default state for new users.
- Add a simple tutorial popup for first-time users.
2025-03-15 22:47:32 +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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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
gpt-engineer-app[bot]
66c2240bb2 Address error condition
The code has an error that needs to be addressed.
2025-03-15 12:09:51 +00:00
gpt-engineer-app[bot]
8c403f9761 Refactor BudgetContext file
Refactor BudgetContext.tsx into smaller components and hooks to improve code readability and maintainability.
2025-03-15 11:08:35 +00:00
gpt-engineer-app[bot]
bbf0f75b66 Fix type errors in BudgetContext
Addresses type errors related to category budgets in BudgetContext and Index page. Specifically, ensures correct type assignment for category budget updates.
2025-03-15 10:54:24 +00:00
gpt-engineer-app[bot]
53096ae26e Implement additional improvements
This commit implements additional improvements as requested.
2025-03-15 10:52:53 +00:00
gpt-engineer-app[bot]
8e1f2de87e Remove demo mode
Removes demo mode to ensure proper Supabase functionality.
2025-03-15 10:20:14 +00:00
gpt-engineer-app[bot]
67f763eefa Update login failure message
Update the message displayed upon login failure.
2025-03-15 07:35:25 +00:00
gpt-engineer-app[bot]
41308a478e Investigate fetch failure
Investigate why fetch requests are failing.
2025-03-15 07:06:29 +00:00
gpt-engineer-app[bot]
d345f7035a Fix sign-up failure handling
The sign-up failure logic was not properly implemented. This commit addresses the issue.
2025-03-15 07:04:34 +00:00
gpt-engineer-app[bot]
0df6b8a8f5 Fix auth action return types
The authActions functions (signIn, signOut, resetPassword) were returning a promise with an object containing an error property. The AuthContextType expected these functions to return a promise that resolves to void. This commit updates the return types of these functions to Promise<void> and adjusts the logic to handle errors appropriately without returning them directly in the promise resolution.
2025-03-15 06:58:52 +00:00
gpt-engineer-app[bot]
fd34c62170 Refactor AuthContext into smaller files
Refactors the AuthContext.tsx file into smaller, more manageable files to improve code organization and maintainability. The functionality remains the same.
2025-03-15 06:57:27 +00:00
gpt-engineer-app[bot]
33f1a94a81 Implement user authentication
Implement login functionality and user authentication logic.
2025-03-15 06:50:56 +00:00