Commit Graph

95 Commits

Author SHA1 Message Date
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
BlankParticle
43e690e5c4 fix: revert backend builder 2025-05-21 00:52:53 +05:30
BlankParticle
214b4ae372 chore: update build and deploy commands 2025-05-21 00:33:57 +05:30
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
cc03565570 refactor: update environment variable keys in wrangler.jsonc to use VITE prefix for consistency 2025-05-20 02:03:17 -07:00
Aj Wazzan
0f2ed02de4 feat: add deployment scripts for frontend and backend; enhance mail and server package.json with deploy commands 2025-05-20 01:55:15 -07:00
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
acc680020f chore: update environment variables and add durable objects configuration in wrangler.jsonc 2025-05-20 01:16:19 -07:00
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
25cb7f6483 Merge branch 'staging' into feat/outlook-provider 2025-05-19 21:42:25 +01:00
Aj Wazzan
43dae9e9fa chore: update wrangler configuration with new environment variables and durable objects 2025-05-19 13:36:07 -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