528 Commits

Author SHA1 Message Date
MartinBraquet
443f08b558 Add message and star button to profile cards in people page 2026-05-12 14:33:04 +02:00
MartinBraquet
e960bff2b0 Enhance profile query: include user metadata and users.username in text fields 2026-05-12 14:27:03 +02:00
MartinBraquet
3535e059fe Simplify Docker CMD by removing tsconfig-paths/register usage 2026-05-11 21:44:31 +02:00
MartinBraquet
160397a6cd Enforce WS session timeout and enhance heartbeat connection management 2026-05-11 20:45:32 +02:00
MartinBraquet
ce25d172ee Add robots.txt to disallow all web crawlers 2026-05-11 20:41:09 +02:00
MartinBraquet
93827518da Remove unused metrics writer 2026-05-11 19:46:29 +02:00
MartinBraquet
b78e539801 Add service account and IAM roles for Cloud Run API runtime 2026-05-11 17:03:24 +02:00
MartinBraquet
0ab535a6ac Remove ecosystem.config.js as it's no 2026-05-11 16:01:32 +02:00
MartinBraquet
9caac159e1 Move backend from VM to Cloud Run and remove Load Balancer
Both to save lots of $$$
2026-05-11 16:01:12 +02:00
MartinBraquet
266f8e89e3 Comment out unused verification link block in welcome email template. 2026-05-10 11:24:04 +02:00
MartinBraquet
47e898b0c6 Add debug script to analyze Supabase query egress: track expensive queries and calculate row sizes 2026-05-09 19:51:15 +02:00
MartinBraquet
e197a35bae Fix max pool in session mode 2026-05-09 19:06:45 +02:00
MartinBraquet
81e6d14cf3 Bump API package version to 1.37.0 in package.json 2026-05-08 21:50:29 +02:00
MartinBraquet
cdadad387d "Redesign email templates: update layout, spacing, typography, and styling for improved readability, consistency, and UI cohesion." 2026-05-08 20:06:38 +02:00
MartinBraquet
27dd553820 Remove LinkedIn from LLM extract descriptions and prompts for consistency across languages 2026-05-04 16:08:12 +02:00
MartinBraquet
b057f179d6 Update button styles, text classes, and French translations for consistency and clarity 2026-05-01 13:11:52 +02:00
MartinBraquet
87ec4a7bc3 Add support for extracting Google Doc ID from /preview URLs in parse.ts. 2026-04-29 20:45:27 +02:00
MartinBraquet
a62be51885 Bump API package version to 1.36.2. 2026-04-29 19:31:53 +02:00
MartinBraquet
469a605f83 Add support for psychedelics_intention and cannabis_intention fields in llm-extract-profile.ts and adjust related type definitions 2026-04-29 19:23:39 +02:00
MartinBraquet
a26805f17d Enhance fetch headers with multiple user-agent support for improved scraping reliability in llm-extract-profile.ts. 2026-04-28 23:30:55 +02:00
MartinBraquet
7e4e62c1a6 Fix missing default value for notificationPreferences lookup in unsubscribe query 2026-04-26 10:34:23 +02:00
MartinBraquet
af8f5a296d Add foreign key constraint to email_unsubscribe_tokens for user_id with cascade delete 2026-04-26 10:34:16 +02:00
MartinBraquet
b1c1975efd Update "Share Compass" email content and sender details; refine localization copy for French and German. 2026-04-10 13:40:18 +02:00
MartinBraquet
e5da6a0353 Refine "Share Compass" email copy for tone and personalization; update sender details in email helper. 2026-04-10 13:13:22 +02:00
MartinBraquet
5e97dcdb24 Simplify get-profiles unit test by removing redundant assertions 2026-04-09 17:00:46 +02:00
MartinBraquet
987715557d Improve profile search trigger and rebuild logic: update trigger to prevent recursion, enhance logging and exception handling, optimize rebuild_profile_search SQL with consolidated queries. 2026-04-09 16:52:37 +02:00
MartinBraquet
620bd9b00e Refactor get-profiles to simplify imports and comment out debug logging 2026-04-09 16:51:30 +02:00
MartinBraquet
5305f7bf7e Expand profile search functionality to include new text and choice fields, enhance filtering precision, and update full-text search indexing logic 2026-04-09 15:36:18 +02:00
MartinBraquet
5d204aec5b Replace isAdminId with throwErrorIfNotMod in removePinnedPhoto tests for improved role-based authentication validation 2026-04-09 14:09:24 +02:00
MartinBraquet
9965f4faf0 Replace admin checks with throwErrorIfNotMod for better role-based authentication handling 2026-04-09 13:16:15 +02:00
MartinBraquet
709488f919 Add get-user-journeys API endpoint and integrate it into admin journeys page to fetch and display user events and details 2026-04-09 13:12:09 +02:00
MartinBraquet
ff273efa44 Update unsubscribe URL format to use path-based token instead of query parameter 2026-04-09 11:13:48 +02:00
MartinBraquet
a53506cc9d Improve unsubscribe endpoint: add logging, ensure idempotency, and handle invalid or duplicate tokens gracefully 2026-04-09 10:52:40 +02:00
MartinBraquet
ff6115f4a6 Add email unsubscribe token support: implement token-based unsubscription handling, create API endpoint for unsubscribing via tokens, and update List-Unsubscribe header for one-click functionality. 2026-04-09 10:39:58 +02:00
MartinBraquet
f5e16f68de Refine LLM profile extraction: validate pref_age_min/pref_age_max ranges, ensure logical consistency, remove null/undefined properties, adjust cache debug logging, and improve field descriptions. 2026-04-08 16:59:48 +02:00
MartinBraquet
f3882f91b7 Add status handling in profile extraction and caching logic 2026-04-08 16:33:02 +02:00
MartinBraquet
d62121cc00 Refactor email creation process: rename and update createShareEmails to createShareCompassEmails, add support for pagination with startIndex and n, and replace sendOutreachEmail with sendShareCompassEmail. 2026-04-08 15:13:28 +02:00
MartinBraquet
301cad6ae4 Comment out unused locale property in ShareCompassEmailProps. 2026-04-08 14:51:34 +02:00
MartinBraquet
a4f797887b Update List-Unsubscribe header to support one-click unsubscription 2026-04-08 14:51:19 +02:00
MartinBraquet
28650d799f Refactor notification and email systems: migrate to shared utilities, update unsubscribe links, and add outreach email functionality. 2026-04-08 13:38:39 +02:00
MartinBraquet
246a00e57d Remove deprecated create-profile and create-user endpoints in favor of create-user-and-profile. 2026-04-08 13:03:05 +02:00
MartinBraquet
0a8d55ba87 Add ShareCompassEmail component to enhance user engagement through shareable email content 2026-04-08 12:06:14 +02:00
MartinBraquet
ea2735f688 Replace DOMAIN with DEPLOYED_WEB_URL in email links and add X logo link. 2026-04-08 12:04:55 +02:00
MartinBraquet
16c5ce82c7 Add List-Unsubscribe header to emails for improved unsubscribe management 2026-04-08 12:04:36 +02:00
MartinBraquet
a124b39a5b Remove next.config.js and update email project scripts and dependencies 2026-04-08 12:03:27 +02:00
MartinBraquet
02104b91c8 Add Android app link and improve email content with additional context and styling adjustments 2026-04-08 12:02:54 +02:00
MartinBraquet
ed5aa80848 Add progress bar and update UI feedback for profile extraction process 2026-04-07 22:19:25 +02:00
MartinBraquet
8d65bc717c Release 2026-04-07 21:09:02 +02:00
MartinBraquet
e96057fb23 Implement async profile extraction with caching and processing state handling 2026-04-07 17:38:08 +02:00
MartinBraquet
e61ac9b3ff Handle parsing of unknown/custom elements in parse.ts and bump API package version to 1.32.1 2026-04-05 15:43:43 +02:00