Commit Graph

55 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
613f6a49d7 Refactor auth utils for Cloud
Simplify signUpUtils.ts and signInUtils.ts by removing unnecessary code related to CORS proxies, optimizing for Supabase Cloud environment.
2025-03-18 06:15:28 +00:00
gpt-engineer-app[bot]
30730c5cd0 Remove on-premise Supabase code
\
Removes code related to on-premise Supabase connections, ensuring the application uses the cloud version.
2025-03-18 06:01:31 +00:00
gpt-engineer-app[bot]
9ff0592e33 Fix import error in App.tsx
Corrected the import path for SupabaseSettings in App.tsx to resolve a module resolution error.
2025-03-15 22:38:05 +00:00
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]
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]
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]
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]
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]
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]
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]
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
gpt-engineer-app[bot]
511a5bb2da Refactor SupabaseSettingsForm component
The SupabaseSettingsForm component was refactored into smaller, more manageable components to improve readability and maintainability.
2025-03-15 12:37:34 +00:00
gpt-engineer-app[bot]
f9aec98a45 Refactor: Split Supabase tests
Splits the Supabase tests into smaller modules for better readability and maintainability.
2025-03-15 12:35:59 +00:00
gpt-engineer-app[bot]
785e69a42c Improve Supabase connection testing
Enhance the Supabase connection test to provide more detailed error information and handle potential CORS issues.
2025-03-15 12:32:40 +00:00
gpt-engineer-app[bot]
a55e780eec Fix TypeScript error in tests
The `backupProxySuccess` property was being assigned to the `debugInfo` object in the `testSupabaseConnection` function, but it was not defined in the type definition. This commit adds the `backupProxySuccess` property to the type definition of the `debugInfo` object to resolve the TypeScript error.
2025-03-15 12:29:07 +00:00
gpt-engineer-app[bot]
ae1db90d87 Investigate Supabase connection issues
Investigate REST API and database connection failures despite successful authentication.
2025-03-15 12:28:18 +00:00
gpt-engineer-app[bot]
6de30b681a Refactor SupabaseSettings component
The SupabaseSettings component was refactored into smaller, more manageable components to improve code organization and maintainability. The UI and functionality remain unchanged.
2025-03-15 12:24:40 +00:00
gpt-engineer-app[bot]
1623fd7738 Investigate CORS proxy failure
The CORS proxy is failing despite being enabled, resulting in REST API and database connection errors. Investigate the cause of the failure.
2025-03-15 12:23:00 +00:00
gpt-engineer-app[bot]
893e1cf0aa Improve Supabase connection testing
Enhance connection testing to provide more detailed error information.
2025-03-15 12:17:50 +00:00
gpt-engineer-app[bot]
2493f958de Refactor supabase.ts into modules
Refactor the supabase.ts file into smaller modules, separating test functionalities and default client configurations while preserving all code functionalities.
2025-03-15 12:12:07 +00:00
gpt-engineer-app[bot]
3a14914482 Fix spread argument type error
The spread argument in the fetch function was causing a TypeScript error. Changed the fetch implementation to resolve the type issue.
2025-03-15 12:10:58 +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]
5371462b49 Add API test for login
This commit adds an API test to check if the login is working correctly.
2025-03-15 12:06:05 +00:00
gpt-engineer-app[bot]
2f3dda3ca6 Add Supabase settings page
This commit adds a Supabase settings page to configure the Supabase URL and Anon Key.
2025-03-15 12:00:46 +00:00
gpt-engineer-app[bot]
96ffe015ec Update Supabase Anon Key
Updates the Supabase anon key with the provided value.
2025-03-15 12:00:02 +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]
01e71d1219 Document on-premise Supabase setup
Adds documentation on how to connect to an on-premise Supabase instance.
2025-03-15 08:11:00 +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]
6bb0dee97a Update Supabase anon key
Update the Supabase anon key to the new value.
2025-03-15 07:34:18 +00:00
gpt-engineer-app[bot]
46d4f10c5c Reverted to edit edt-5621e5a0-bf01-45d1-871d-f401b7a23641: "Investigate fetch failure
Investigate why fetch requests are failing."
2025-03-15 07:29:30 +00:00
gpt-engineer-app[bot]
21cfc7aee2 Update anon key
Updates the anon key value in the codebase.
2025-03-15 07:28:15 +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]
bfb446fe1a Update Supabase configuration
Updates the Supabase URL and anon key with the correct values.
2025-03-15 06:47:50 +00:00
gpt-engineer-app[bot]
6cda809697 Reverted to edit edt-ac485f97-7774-4a29-9d0a-ec4295ecbab8: "Configure Supabase environment variables
Sets Supabase URL and anon key using environment variables."
2025-03-15 06:42:32 +00:00