Commit Graph

1397 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
ffb0297854 feat: Implement auth logging and session verification optimizations 2025-10-12 19:02:59 +00:00
gpt-engineer-app[bot]
3a58dcf62d Fix report notification data types 2025-10-12 18:44:09 +00:00
gpt-engineer-app[bot]
566cca21a4 feat: Implement report notifications 2025-10-12 18:43:27 +00:00
gpt-engineer-app[bot]
491f27bdc3 Fix Novu payload validation errors 2025-10-12 18:34:05 +00:00
gpt-engineer-app[bot]
afd9ecf993 Refactor: Enhance submission notification payload 2025-10-12 18:28:14 +00:00
gpt-engineer-app[bot]
cf7259180f Fix Novu notification trigger 2025-10-12 18:22:25 +00:00
gpt-engineer-app[bot]
c482f2aa66 Fix: Update trigger function for Novu topics 2025-10-12 18:21:07 +00:00
gpt-engineer-app[bot]
825584d9b6 feat: Implement Novu topics for moderator notifications 2025-10-12 18:20:02 +00:00
gpt-engineer-app[bot]
c359576f03 Fix: Trigger notification authorization 2025-10-12 17:42:55 +00:00
gpt-engineer-app[bot]
672950089d Implement moderator notification trigger 2025-10-12 17:40:17 +00:00
gpt-engineer-app[bot]
4b71f80939 feat: Implement moderator notifications 2025-10-12 17:39:37 +00:00
pac7
264a930c6a Fix authentication loading state issue by simplifying auth hook
Resolved perpetual loading state issue in auth buttons by simplifying useAuth hook's loading state management, removing blocking conditional logic, adding explicit setLoading(false) calls in all code paths, and ensuring pending email state cleanup occurs before early returns.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e7030bef-c72b-4948-9378-ee5e345d91ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/e7030bef-c72b-4948-9378-ee5e345d91ce/iYcvvsb
2025-10-12 17:06:29 +00:00
pac7
0b8fe60823 Improve authentication state management and user session handling
Refactors the `AuthProviderComponent` in `useAuth.tsx` to enhance the handling of Supabase authentication state changes. Updates console logs for better debugging, prioritizes setting pending email state before early returns, and refines the logic for `SIGNED_IN`, `INITIAL_SESSION`, and `SIGNED_OUT` events. Also defers Novu updates and profile fetches to prevent blocking the authentication process.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e7030bef-c72b-4948-9378-ee5e345d91ce
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/e7030bef-c72b-4948-9378-ee5e345d91ce/zQglahT
2025-10-12 17:05:15 +00:00
pac7
da3a5247a1 Transitioned from Plan to Build mode
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e7030bef-c72b-4948-9378-ee5e345d91ce
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-12 16:58:50 +00:00
pacnpal
17fc18295e fixes 2025-10-12 16:36:51 +00:00
pacnpal
baa835983c Fixes 2025-10-12 16:34:11 +00:00
gpt-engineer-app[bot]
3ba2077e0a Refactor: Restore type safety in forms 2025-10-12 16:28:28 +00:00
gpt-engineer-app[bot]
dd079bd5a5 Fix TypeScript build errors 2025-10-12 16:22:57 +00:00
pacnpal
5637b37ebc fix: remove outdated @tailwindcss/postcss dependency from package.json 2025-10-12 12:15:51 -04:00
pacnpal
d0f4f33275 fix: update tailwindcss version and add postcss dependency in package.json 2025-10-12 12:15:24 -04:00
pacnpal
70469d96dd fix: update dependencies and improve package versions in package.json 2025-10-12 11:46:22 -04:00
pacnpal
0a9b163e81 fix: update vite version and improve session handling in useAuth hook
- Updated vite from version 5.4.19 to 7.1.9 in package.json for better performance and features.
- Enhanced session verification logic in useAuth hook to check for session.user before setting user state.
2025-10-12 11:45:13 -04:00
gpt-engineer-app[bot]
f294020d0b Fix Novu API import error 2025-10-12 15:43:19 +00:00
gpt-engineer-app[bot]
1333a5e8c8 Fix Novu API import path 2025-10-12 15:41:36 +00:00
gpt-engineer-app[bot]
4d96f45e74 feat: Implement Novu package migration 2025-10-12 15:40:37 +00:00
pacnpal
e3331dae96 Fix: Ensure loading state is set correctly for session events in AuthProvider 2025-10-12 11:31:01 -04:00
pacnpal
0443e96c4a Update .gitignore to include snapshots and context portal 2025-10-12 11:25:36 -04:00
pacnpal
472813d1ea [dyad] Fixed auth loading state and moderation queue refresh issues - wrote 3 file(s) + extra files edited outside of Dyad 2025-10-12 11:17:24 -04:00
gpt-engineer-app[bot]
3d14393df9 Refactor: Implement all refresh settings 2025-10-12 15:12:20 +00:00
gpt-engineer-app[bot]
420ec2ffad Fix: Update admin setting categories 2025-10-12 15:06:43 +00:00
gpt-engineer-app[bot]
aff3581eaf Fix admin settings rendering and refresh logic 2025-10-12 14:59:41 +00:00
gpt-engineer-app[bot]
391e6a07fd Refactor account deletion flow 2025-10-12 14:31:26 +00:00
gpt-engineer-app[bot]
8d814d43a1 Refactor avatar deletion logic 2025-10-12 14:22:27 +00:00
gpt-engineer-app[bot]
3a38b47108 Implement account deletion system 2025-10-12 14:17:54 +00:00
gpt-engineer-app[bot]
21ba87a664 Fix SECURITY DEFINER on views 2025-10-12 14:07:12 +00:00
gpt-engineer-app[bot]
846c8ec7c0 Fix SECURITY DEFINER on filtered_profiles view 2025-10-12 14:06:39 +00:00
gpt-engineer-app[bot]
934c649514 Fix SECURITY DEFINER on filtered_profiles view 2025-10-12 14:05:43 +00:00
gpt-engineer-app[bot]
c5ad432667 feat: Update Discord username in edge function 2025-10-12 00:51:45 +00:00
gpt-engineer-app[bot]
c129fb1a9e Fix Discord username generation 2025-10-12 00:48:48 +00:00
gpt-engineer-app[bot]
cf94eef683 Fix Discord OAuth data format 2025-10-12 00:43:58 +00:00
gpt-engineer-app[bot]
721fe82a00 Fix Discord OAuth data extraction 2025-10-12 00:35:04 +00:00
gpt-engineer-app[bot]
0b97904064 Fix: Correct Discord identity data access 2025-10-12 00:31:37 +00:00
gpt-engineer-app[bot]
5fb92f97bd Fix Discord OAuth profile handling 2025-10-12 00:29:25 +00:00
gpt-engineer-app[bot]
3d91092953 Fix: Use correct Cloudflare credentials 2025-10-12 00:24:58 +00:00
gpt-engineer-app[bot]
5f8cb16453 Fix: Use account hash for Cloudflare avatars 2025-10-12 00:19:04 +00:00
gpt-engineer-app[bot]
8d5e235772 Fix Cloudflare avatar upload 2025-10-12 00:11:01 +00:00
gpt-engineer-app[bot]
7b72a6a266 Fix OAuth typo 2025-10-12 00:06:21 +00:00
gpt-engineer-app[bot]
5e0671f79e Refactor: Update auth callback logic 2025-10-11 23:58:18 +00:00
gpt-engineer-app[bot]
d6f9f4d9a3 feat: Implement OAuth profile enhancement 2025-10-11 23:56:44 +00:00
gpt-engineer-app[bot]
b8c9bf1784 Fix: Hide duplicate calendar caption label 2025-10-11 23:47:12 +00:00