Commit graph

3935 commits

Author SHA1 Message Date
Rohan Verma
b4b53b6625
Merge pull request #597 from AnishSarkar22/fix/chat-ui
Added new Chat UI and fixed global state management for notes
2025-12-19 15:14:24 -08:00
Rohan Verma
0114ff6702
Merge pull request #603 from MODSetter/dev
feat: enhance CSRF cookie configuration for OAuth
2025-12-19 15:04:29 -08:00
DESKTOP-RTLN3BA\$punk
7e383b3fe2 feat: enhance CSRF cookie configuration for OAuth
- Added support for SameSite attribute in CSRF cookies to handle cross-origin requests.
- Set SameSite to 'none' for secure contexts and 'lax' for local development.
2025-12-19 15:03:12 -08:00
Rohan Verma
231c36805d
Merge pull request #602 from MODSetter/dev
feat: updated CORS configuration
2025-12-19 14:50:50 -08:00
DESKTOP-RTLN3BA\$punk
3db5a11fc1 Merge commit '3332142485' into dev 2025-12-19 14:50:09 -08:00
DESKTOP-RTLN3BA\$punk
18a4857c2b feat: enhance CORS configuration for frontend integration
- Updated CORS middleware to allow specific origins based on NEXT_FRONTEND_URL.
- Added support for localhost origins for local development.
- Ensured compatibility with both www and non-www variants of the frontend URL.
2025-12-19 14:49:49 -08:00
Rohan Verma
3332142485
Merge pull request #601 from MODSetter/dev
feat: fixed OAUTH issues
2025-12-19 14:20:21 -08:00
DESKTOP-RTLN3BA\$punk
3f2b915cd0 feat: fixed OAUTH issues
- Added BACKEND_URL to .env.example for optional OAuth callback configuration when behind a reverse proxy with HTTPS.
- Updated fastapi-users dependency to version 15.0.3 in pyproject.toml.
- Updated argon2-cffi and email-validator versions in uv.lock.
- Enhanced Google OAuth integration in app.py to handle secure contexts for CSRF cookies.
- Updated GoogleLoginButton component to include credentials in fetch requests.
- Updated documentation to reflect the new BACKEND_URL variable in both docker and manual installation guides.
2025-12-19 14:19:30 -08:00
Rohan Verma
46f608486d
Merge pull request #600 from MODSetter/dev
revert hotfix
2025-12-19 13:31:40 -08:00
DESKTOP-RTLN3BA\$punk
8ab0f67354 Merge commit '50febcb4a6' into dev 2025-12-19 13:31:08 -08:00
DESKTOP-RTLN3BA\$punk
8d66d32c07 revert 2025-12-19 13:30:50 -08:00
Rohan Verma
50febcb4a6
Merge pull request #599 from MODSetter/dev
hotfix(try): OAUTH_INVALID_STATE
2025-12-19 12:50:10 -08:00
DESKTOP-RTLN3BA\$punk
10a2180873 hotfix(try): OAUTH_INVALID_STATE 2025-12-19 12:49:40 -08:00
Anish Sarkar
b53b19170e feat: implement unsaved changes handling in editor and sidebar
- Introduced global state management for unsaved changes and pending navigation using Jotai atoms.
- Updated the editor component to sync local unsaved changes with global state and handle navigation prompts.
- Enhanced sidebar functionality to check for unsaved changes before navigating to a new note.
- Added cleanup logic for global state on component unmount to prevent stale data.
2025-12-19 22:59:42 +05:30
Anish Sarkar
ee46a43afc feat: enhance chat query handling and sidebar updates
- Updated chat query to include ordering by creation date for better organization.
- Improved optimistic updates in chat deletion and creation mutations to ensure UI consistency.
- Invalidate chat queries after mutations to refresh sidebar and components effectively.
- Adjusted cache key structure for chat queries to include additional parameters for better cache management.
2025-12-19 22:37:04 +05:30
Anish Sarkar
5fcaadf60b Merge remote-tracking branch 'upstream/main' into fix/chat-ui 2025-12-19 21:42:26 +05:30
Anish Sarkar
bb971f89ba feat: enhance sidebar functionality with tooltips and improved sorting
- Added tooltips to chat and note items in the sidebars, displaying creation and update timestamps.
- Implemented sorting of chats and notes by their creation or update dates for better organization.
- Updated translation keys for new UI strings related to deletion and timestamps.
- Adjusted sidebar layout for improved user experience on mobile devices.
2025-12-19 21:40:40 +05:30
Anish Sarkar
60d57305a7 refactor: streamline sidebar layout and adjust note/chat limits
- Updated `AppSidebar` to simplify the layout by removing unnecessary div wrappers around `NavChats` and `NavNotes`.
- Adjusted the number of notes and chats displayed in the sidebar from 5 to 4 for a more compact design.
- Modified `SidebarContent` and `SidebarGroup` styles for improved spacing and layout consistency.
2025-12-19 19:36:10 +05:30
Rohan Verma
07fa070760
Merge pull request #596 from MODSetter/dev
feat: fixed web crawler, jotai migrations & new agent test script
2025-12-19 00:46:05 -08:00
DESKTOP-RTLN3BA\$punk
4d02e8768d chore: biome 2025-12-19 00:45:29 -08:00
Rohan Verma
c53bd54fd4
Merge pull request #595 from CREDO23/fix-webcrawler-indexing
[Feat] Optimize AsyncChromiumLoader with Trafilatura for main content extraction
2025-12-19 00:30:34 -08:00
DESKTOP-RTLN3BA\$punk
2c07f0aed6 Merge commit '90b4ce6e43' into dev 2025-12-19 00:18:49 -08:00
CREDO23
f524cf5322 use trafilatura to extrack page content from the chromium result 2025-12-19 10:05:51 +02:00
CREDO23
64cd65bc1f use trafilatura to extrack page content from the chromium result 2025-12-19 10:05:51 +02:00
DESKTOP-RTLN3BA\$punk
c6cc7c2a6a feat: test script of new agent 2025-12-18 23:57:57 -08:00
Rohan Verma
e48aa3f1c7
Merge pull request #593 from CREDO23/feat/add-jotai-tanstack-rbac-members-invites
[Feat] Members & Invites | Add jotai & tanstack
2025-12-18 16:26:04 -08:00
CREDO23
2cdc6874dc feat: migrate connectors to jotai + tanstack 2025-12-19 00:45:38 +02:00
CREDO23
e38b925c2a refact: migrate all add connector page to jotai+tnstack 2025-12-19 00:32:59 +02:00
Anish Sarkar
79e552520a refactor: remove old chat components and implement new sidebar structure
- Deleted `chats-client.tsx` and `page.tsx` as part of the chat management overhaul.
- Introduced `AllChatsSidebar` and `NavChats` components for improved chat navigation and management.
- Updated sidebar to integrate new chat components and removed the deprecated `NavProjects`.
- Enhanced chat deletion handling and added loading states for better user experience.
- Added new translation keys for chat-related UI strings.
2025-12-19 03:53:40 +05:30
CREDO23
cd5b6becce refact: migrate all add connector page to jotai+tnstack 2025-12-19 00:19:15 +02:00
CREDO23
60c09687ab feat: migrate indexconnector handler 2025-12-18 23:42:45 +02:00
CREDO23
3c6f50fa8f feat: migrate updateconnector handler 2025-12-18 23:39:38 +02:00
CREDO23
6913a7b59f feat: migrate deleteconnector handler 2025-12-18 23:36:55 +02:00
CREDO23
68fe4daea1 feat: migrate get connectors handlers 2025-12-18 23:30:17 +02:00
CREDO23
96d937fe2d feat: add query atoms 2025-12-18 23:26:15 +02:00
CREDO23
797a8d4329 feat: add cache keys 2025-12-18 23:08:36 +02:00
CREDO23
4710b9ad3d feat: add cache keys 2025-12-18 22:58:21 +02:00
CREDO23
7edf2c9c9b feat: add connector types 2025-12-18 22:55:00 +02:00
CREDO23
94c830c5ab fix appi service endpoints 2025-12-18 20:10:20 +00:00
CREDO23
3bdaf637b4 restore gitignore 2025-12-18 18:42:38 +00:00
CREDO23
2d48edf420 restore gitignore 2025-12-18 18:41:37 +00:00
CREDO23
9c378550ba refactor: complete RBAC migration cleanup - remove unused hooks and fix type imports 2025-12-18 18:37:26 +00:00
CREDO23
1c00e6f12e fix: update invite schemas to match backend and fix cache key reference 2025-12-18 18:36:32 +00:00
CREDO23
f8ec87c7f2 chore: delete unused useUserAccess hook from use-rbac.ts 2025-12-18 18:36:32 +00:00
CREDO23
74c7e5e7b3 feat: migrate useUserAccess to myAccessAtom in client-layout 2025-12-18 18:36:32 +00:00
CREDO23
e520e3e217 chore: delete unused useMembers hook from use-rbac.ts 2025-12-18 18:36:32 +00:00
CREDO23
bce8340750 feat: migrate useUserAccess to myAccessAtom in team page 2025-12-18 18:36:32 +00:00
CREDO23
18ac6bf0c5 feat: remove unused useInvites hook references from team page 2025-12-18 18:36:32 +00:00
CREDO23
0d2f58001b feat: migrate revokeInvite to deleteInviteMutationAtom in team page 2025-12-18 18:36:32 +00:00
CREDO23
15541b71c9 feat: migrate createInvite to createInviteMutationAtom in team page 2025-12-18 18:36:32 +00:00