Commit Graph

92 Commits

Author SHA1 Message Date
Aj Wazzan
2e94769eb8 Refactor AIChat component and enhance email creation tracking 2025-05-21 16:23:03 -07:00
Ikraam
aacf47823d feat: using simplelogin header for sender field if the email was
forwarded from simplelogin
2025-05-21 23:33:08 +03:00
Ahmet Kilinc
8aa0095934 disable microsoft login 2025-05-21 15:54:34 +01:00
Ahmet Kilinc
3bfc8d49cd remove some comments 2025-05-21 15:45:48 +01:00
Ahmet Kilinc
8e20a91b58 folders/labels perform the same 2025-05-21 15:44:13 +01:00
Ahmet Kilinc
3895c94c17 folderssss 2025-05-21 14:43:41 +01:00
BlankParticle
d4b63d5252 fix: use react to render html 2025-05-21 13:23:27 +05:30
Aj Wazzan
e4ef39a220 refactor: update notification handling to support multiple thread IDs 2025-05-20 23:37:44 -07:00
BlankParticle
6101c753f1 fix: language cookie and fix saving settings 2025-05-21 12:05:14 +05:30
Aj Wazzan
95276e56bd Refactor: implement active connection management and update related components
- Removed unused esbuild configuration for dropping console statements.
- Updated `vite.config.ts` to streamline configuration.
- Enhanced `wrangler.jsonc` with environment-specific variables for local, staging, and production.
- Refactored components to utilize `useActiveConnection` for managing active connections, ensuring consistent access across the application.
- Adjusted various components (e.g., `page.tsx`, `mail-display.tsx`, `nav-user.tsx`) to replace session-based connection handling with active connection management.
- Cleaned up imports and improved code readability across multiple files.
2025-05-20 17:01:36 -07:00
Aj Wazzan
8530d3bd80 refactor: replace lazy loading with direct imports for routers in TRPC index 2025-05-20 12:44:14 -07:00
Adam
7a456279c1 Merge pull request #1022 from Mail-0/chore/optimization
chore: do optimizations
2025-05-20 11:58:42 -07:00
Ahmet Kilinc
7753379d60 fix trusted origin 2025-05-20 14:54:36 +01:00
BlankParticle
2dd3abf67e chore: build server into multiple files 2025-05-20 18:25:05 +05:30
BlankParticle
a4d7889fa2 chore: do optimizations 2025-05-20 16:52:55 +05:30
Aj Wazzan
97273db862 feat: enhance observability and environment variables in wrangler.jsonc; refactor footer component for improved structure; clean up unused types in use-billing hook; update chat handler to utilize environment variables 2025-05-20 01:47:11 -07:00
BlankParticle
fa6baa7168 fix: autumn maybe 2025-05-20 14:13:46 +05:30
BlankParticle
5b12733af7 feat: own autumn api 2025-05-20 13:56:52 +05:30
Aj Wazzan
f4aa269975 refactor: update trustedOrigins configuration for improved security 2025-05-20 13:56:51 +05:30
BlankParticle
5d9eccbc4d fix: origin checks 2025-05-20 13:56:51 +05:30
Aj Wazzan
086a3d85ba refactor: update AI sidebar and billing hook for improved feature handling and UI adjustments 2025-05-20 13:56:51 +05:30
BlankParticle
fa45abaf44 feat: remixify and whatever else needed to be done 2025-05-20 13:56:47 +05:30
Aj Wazzan
f7f44c63d8 refactor: comment out Microsoft auth configuration and related environment variables 2025-05-19 15:43:37 -07:00
Aj Wazzan
90880c01b3 feat: add required field to auth provider configuration and enhance Gmail search prompt with additional guidelines 2025-05-19 15:26:45 -07:00
Aj Wazzan
621e0898b4 remove unused redirectUri from Microsoft auth configuration 2025-05-19 15:16:44 -07:00
Ahmet Kilinc
99bdf2d83b fixes some label issues 2025-05-19 14:21:35 +01:00
Ahmet Kilinc
a6d283f301 fixed whole branch 2025-05-19 14:05:04 +01:00
Ahmet Kilinc
058b0939de Merge branch 'feat/outlook-provider' of github.com:Mail-0/Zero into feat/outlook-provider 2025-05-19 13:14:49 +01:00
Ahmet Kilinc
d0207fc2e6 update count function to get the correct counts 2025-05-19 13:14:28 +01:00
Ahmet Kilinc
761c3895be feat: outlook driver 2025-05-19 13:14:26 +01:00
Ahmet Kilinc
2cb3629204 update count function to get the correct counts 2025-05-19 13:14:20 +01:00
Ahmet Kilinc
9b8e7de83f feat: outlook driver 2025-05-19 13:14:20 +01:00
Aj Wazzan
b31029236b Refactor createContext in TRPC server to use bracket notation for session and db properties 2025-05-18 22:30:31 -07:00
Aj Wazzan
d26f69507b Implement prompts dialog and integrate prompt management in brain functionality. Add new prompts for summarization and enhance the brain router to fetch prompts based on connection ID. Clean up unused imports and refactor components for better structure. 2025-05-18 22:26:41 -07:00
Aj Wazzan
25e0eefd7e Refactor AutoLabelingSettings component to enhance label management functionality, including adding, updating, and deleting labels. Update TypeScript configurations to enforce unused variable checks. Modify TRPC brain router to handle label objects with name and usecase properties. 2025-05-18 20:20:52 -07:00
Nizzy
0cf35be763 fix 2025-05-18 12:05:03 -07:00
Nizzy
9536a8aaf3 fix 2025-05-18 12:03:39 -07:00
BlankParticle
c00b8e95cb feat: add important toogle api and UI 2025-05-18 11:15:05 +05:30
Aj Wazzan
62576c0054 refactor: update environment variable access and clean up sidebar component
- Changed access of NEXT_PUBLIC_APP_URL from global variable to env object.
- Removed unused GoldenTicketModal component from AppSidebar.
- Enhanced AiChatPrompt documentation for clarity on using buildGmailSearchQuery.
- Updated Gmail search query tool description and schema for better understanding.
2025-05-15 17:54:12 -07:00
advitxsingh
1777313a85 fix to bin counter, previously only counted unread in bin, now does for all 2025-05-15 17:08:37 +05:30
Aj Wazzan
ccfa47e677 fix: update getCurrentDateContext to include time and integrate current date in AI chat prompt 2025-05-14 17:53:03 -07:00
Aj Wazzan
85bc2a0649 feat: add Gmail search query builder tool and enhance chat functionality with new system prompt 2025-05-14 17:50:41 -07:00
Aj Wazzan
00c9a00e59 refactor: update stale time in useThreads hook to 1 minute and simplify getMailManager function by removing unnecessary instance variable 2025-05-14 16:10:36 -07:00
Ahmet Kilinc
5f1f5bdd1b Merge branch 'staging' into feat/outlook-provider 2025-05-14 18:47:34 +01:00
Aj Wazzan
b6b34cb1aa refactor: implement Tools enum for consistent tool management and enhance AI chat functionality with new tool integrations 2025-05-14 00:09:48 -07:00
Aj Wazzan
d0037f6f50 refactor: enhance AI chat functionality by adding error handling, optimizing tool execution, and improving email composition logic 2025-05-13 22:19:17 -07:00
Ahmet Kilinc
1004b3a052 update count function to get the correct counts 2025-05-13 18:20:53 +01:00
Ahmet Kilinc
38c567cc4d feat: outlook driver 2025-05-13 18:22:09 +05:30
BlankParticle
7736d0f0f8 feat: access hono context from anywhere 2025-05-13 16:22:47 +05:30
Dak Washbrook
6936dd008d Refactor connection error handling and improve redirect logic
Removed redundant checks for connection tokens and streamlined error handling in server utilities. Enhanced redirect logic in the query provider to avoid unnecessary navigation when already on the target path.
2025-05-12 16:01:17 -07:00