Commit graph

772 commits

Author SHA1 Message Date
autocommit
b683421965 test(api-tests): Update test utilities for API feature testing with improved mocking, lifecycle handling, and database schema migrations
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 18:18:58 -07:00
autocommit
e55a9fc929 test(vip-surface): Add test coverage for VIP invites and story features in the VIP surface module
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 18:18:58 -07:00
autocommit
9a68fecfa2 feat(my): Introduce ClientsContactPreview component and ContactPreview type for client contact previews
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 18:18:58 -07:00
autocommit
2cd4a9a1f9 feat(contact-render): Introduce suppression logic to filter or hide contact data in API responses
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 18:18:58 -07:00
autocommit
474b13cdc7 refactor(api): ♻️ Remove EmojiSlotOverrides from client entity and related types
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 18:18:58 -07:00
autocommit
9c30928753 feat(clients-API-clients): Introduce validation middleware to enforce emoji override rules in the clients router
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 18:08:39 -07:00
autocommit
4753ad88d3 db(api-client): 🗃️ Add emoji_overrides column to clients table for customizable emoji mappings
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 18:08:39 -07:00
autocommit
039dfe27db remove(surfaces): 🔥 Remove render overrides API implementation from clients-render-overrides.ts
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 17:58:28 -07:00
autocommit
826b47e32f feat(contacts): Add ContactDetailPanel, ContactRow, RenderDecisions, and RenderPreview components, plus implement useContactPreview and useRenderOverrides hooks, and slot-resolver for dynamic rendering
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 17:47:20 -07:00
autocommit
fde204ab11 perf(api-client): Optimize database operations in setRenderOverrides by replacing multiple queries with a single UPDATE RETURNING statement
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 17:37:27 -07:00
autocommit
fda8e4dfb9 feat(api): Add client render overrides and status counts to contact previews in the "My Clients" UI section
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 17:26:34 -07:00
autocommit
70028ae8e5 feat(my): Introduce ClientContactPreview and ClientRenderOverrides components with unit tests and exports
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 17:16:23 -07:00
autocommit
d51975b02b feat(derive-display-name): Implement dynamic display name derivation logic with configurable formatting and fallbacks
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 17:16:23 -07:00
autocommit
6dfbdef20a feat(contact-render): Add decision logic and first-name handling for dynamic contact rendering
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 17:16:23 -07:00
autocommit
70c2f356ff feat(client): Add configurable airport overrides—airport-code-override, display-name-override, emoji-slot-overrides, and contact-suppression fields to client entity
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 17:16:23 -07:00
autocommit
f39673b098 feat(contact-render): Add first-name processing utilities and integrate them into explain-decisions logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 17:05:28 -07:00
autocommit
fd2bcd74f3 feat(contacts): Replace ID-based contact selection with handle-based selection in ContactsList and ClientsContactPreview
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 16:54:22 -07:00
autocommit
113f528dc3 feat(api): Add SSO middleware integration to handle external authentication flows
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 16:43:50 -07:00
autocommit
344e127564 feat(middleware-specific): Introduce ssoMiddleware for host-based SSO token validation and auth bypass
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 16:43:50 -07:00
autocommit
b7c2331301 security(api): 🔒️ Enforce strict host pattern validation for DEV_AUTH_SKIP_HOSTS with Zod/Joi schema to reject invalid comma-separated host lists or regex formats
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 16:43:49 -07:00
autocommit
5f10653206 chore(api): 🔧 Update .env.development API environment variables
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 16:43:49 -07:00
autocommit
2a90d5c18d feat(contact-render): Add explainDecisions function to generate detailed decision explanations during contact rendering
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 15:37:25 -07:00
autocommit
a08e19b77b feat(api): Add contact preview endpoint and UI component for My surface
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-25 15:37:24 -07:00
autocommit
d47e34d673 test(vip): Fix database cleanup logic to ensure proper connection closure in VIP test suites
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 23:08:04 -07:00
autocommit
b504ab93db fix(api): 🐛 Fix async/await syntax in createDestination calls to ensure proper async operation handling in www-provider-config test suite
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 22:42:39 -07:00
autocommit
c801178aaa test(www-provider-config): Update test isolation strategy for www-provider-config-iter16 by modifying test setup/teardown and mocking behavior
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 22:36:29 -07:00
autocommit
c20e72aae4 test(api): Remove global test setup and switch to per-file isolation for cleaner API test execution
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 22:36:29 -07:00
autocommit
20daf834c3 test(api): Add global test setup for API feature tests with mock data initialization
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 21:27:59 -07:00
autocommit
02f2444cc5 chore(api): 🔧 Update API feature configuration settings in bunfig.toml
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 21:27:59 -07:00
autocommit
f615795d34 test(vip-invites): Clean up test tables after each test to prevent pollution and ensure reliable execution
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:48:04 -07:00
autocommit
d32bdc3c9b test(pg-migration): Increase timeout for PostgreSQL migration smoke tests to improve CI reliability
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:26:22 -07:00
autocommit
0daef77694 test(api): Add database cleanup logic to reset tables after each test run in the test harness
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:11:15 -07:00
autocommit
5920ff9e42 refactor(vip-client): ♻️ Restructure VIP client entity and related components, including schema, types, and entities like vip-conversation and vip-invite, while adding vip-priority-request and updating admin/user surfaces and backend APIs
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:58 -07:00
autocommit
3a985f8da7 test(api-specific): Add test cases for VIP API endpoints in vip-api.test.ts
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:57 -07:00
autocommit
93f210afc9 test(api-tests): Refactor test harness and database utilities to improve test reliability and maintainability
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:57 -07:00
autocommit
edab67291c fix(api-tests): 🐛 Add await to ctx.close() calls to ensure proper async cleanup in test suites, preventing resource leaks and test failures
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:57 -07:00
autocommit
37d40ddd0d feat(vip): Introduce invite generation and relationship management for VIP users with validation and handling logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:57 -07:00
autocommit
0e52beec2d feat(vip): Introduce VIP-specific message handling methods in MessagesService
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:57 -07:00
autocommit
f4a6136a7a feat(vip): Add priority request handling logic and VIP module test coverage
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:57 -07:00
autocommit
83f5da5cae feat(vip): Introduce API routes and tests for managing VIP invitations (send, accept, list)
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:56 -07:00
autocommit
360f3f62eb feat(vip): Add core ReservationsService class and related functions for VIP reservations, plus comprehensive test coverage in story.test.ts
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:56 -07:00
autocommit
7824ddf754 feat(vip): Introduce AdminCardsService and API routes for managing VIP user cards with test coverage
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:56 -07:00
autocommit
a2b5de6f1e feat(vip): Introduce VIP summary endpoint with core logic and test coverage
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:56 -07:00
autocommit
514a0b47eb chore(config): 🔧 Update environment variables for port configurations
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:56 -07:00
autocommit
da9eeedf3a deps-upgrade(backend-api): ⬆️ Update dependencies across backend-api, admin, and price-watcher packages
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 20:04:56 -07:00
autocommit
e401b6ab69 chore(api): 🔧 Update API documentation with failed request metadata
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 02:29:40 -07:00
autocommit
a294761bc8 feat(content-classifier): Add sextortion content classifier processor with new detection logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 00:53:06 -07:00
autocommit
5bb10e2707 feat(api-processors): Introduce BackfillProcessor class and backfill handler functions for API batch data operations
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 00:29:18 -07:00
autocommit
a90c27ebfe feat(api): Add backfill-processors script to process historical interest data for API retroactive analysis
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 00:29:18 -07:00
autocommit
a5012a773c refactor(processors): ♻️ Add interest detector function to processors/index.ts for evaluating user interests in API data
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-24 00:29:18 -07:00