Commit graph

25 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
1ab395a34e feat: enhance error handling with PostHog integration
- Added PostHog error capturing for non-authentication errors in BaseApiService.
- Refactored PostHog client initialization to ensure a single instance is used across the application.
2026-03-12 01:28:39 -07:00
CREDO23
a8e8b0e2fd Fix auto-refresh on 401 in base API service 2026-02-05 19:29:34 +02:00
CREDO23
c2e2472356 fix: rename migration to 85, remove obsolete noAuth prefix
- Rename snapshot migration from 84 to 85 to avoid conflict with
  upstream's LLM auto-mode migration
- Remove /api/v1/podcasts/ from noAuthPrefixes since all podcast
  endpoints now require authentication

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-01 14:41:41 +02:00
CREDO23
3c835bdf7e fix(frontend): remove clone notifications, allow public podcast access 2026-01-28 00:17:54 +02:00
CREDO23
6091e070f3 chore: remove unused import and restrict noAuthPrefixes 2026-01-27 11:11:08 +02:00
CREDO23
271de96cce fix: public chat copy link button and podcast access 2026-01-26 20:10:03 +02:00
CREDO23
9d7259aab9 feat(web): add public chat and thread API types and services 2026-01-26 16:11:55 +02:00
DESKTOP-RTLN3BA\$punk
f22d649239 feat: added shared chats 2026-01-13 00:17:12 -08:00
DESKTOP-RTLN3BA\$punk
73a57589ac chore: linting 2026-01-12 14:17:15 -08:00
DESKTOP-RTLN3BA\$punk
7ac7cd5f99 fix: improve error handling for unauthorized responses and response parsing in BaseApiService 2026-01-12 12:47:08 -08:00
Anish Sarkar
7e7030ef46 chore: fixed linting 2025-12-27 00:03:03 +05:30
Anish Sarkar
30aa44bb91 refactor: update BaseApiService to use dynamic bearer token retrieval
- Replaced static bearerToken property with a getter that retrieves the token from localStorage.
- Updated constructor to remove bearerToken parameter for cleaner initialization.
- Maintained setBearerToken method for backward compatibility, now a no-op.
2025-12-26 23:03:19 +05:30
DESKTOP-RTLN3BA\$punk
b25c1cd4b4 feat: migrated from zod v3 to v4 2025-12-20 05:10:47 -08:00
CREDO23
034e42e15e refactor: update SourceDetailSheet to use useQuery with centralized cache keys
- Replace useDocumentByChunk hook with useQuery implementation
- Use descriptive variable names (isDocumentByChunkFetching, documentByChunkFetchingError)
- Integrate with centralized cache key management
- Update all loading and error state references
- Add 5-minute stale time for document queries
2025-12-08 11:02:01 +00:00
thierryverse
5a887e9243 add documents api service 2025-12-08 11:02:00 +00:00
DESKTOP-RTLN3BA\$punk
b2a97b39ce refactor: centralize authentication handling
- Replaced direct localStorage token access with a centralized `getBearerToken` function across various components and hooks to improve code maintainability and security.
- Updated API calls to use `authenticatedFetch` for consistent authentication handling.
- Enhanced user experience by ensuring proper redirection to login when authentication fails.
- Cleaned up unused imports and improved overall code structure for better readability.
2025-12-02 01:24:09 -08:00
thierryverse
20cd1951b5 add podcast api service 2025-11-20 08:17:56 +02:00
thierryverse
5361290315 refactor podcast api calls 2025-11-20 08:17:56 +02:00
thierryverse
7223a7b04d update api services 2025-11-20 08:17:56 +02:00
thierryverse
b2da1aa8e9 extends the base apis to support blob response 2025-11-20 08:17:56 +02:00
thierryverse
b35a5aa589 update login form 2025-11-17 08:10:12 +02:00
thierryverse
41a938cec0 Refactor register page 2025-11-17 08:10:12 +02:00
thierryverse
81ee04c2a5 format with biome 2025-11-17 08:10:12 +02:00
thierryverse
77d49ca11c add zod schemas & inferences 2025-11-17 08:09:17 +02:00
thierryverse
7221659de7 add a flexible base api service 2025-11-17 08:09:17 +02:00