Commit Graph

8 Commits

Author SHA1 Message Date
Aj Wazzan
113a3bc329 fix: update SRH_TOKEN in docker-compose.yaml and refactor dialog components for improved consistency 2025-05-06 14:59:05 -07:00
BlankParticle
b3415c3d5b chore: simplify and fix the dev env 2025-04-21 18:43:31 +05:30
Muhammad-Owais-Warsi
f9f16db0bf add: docker-compose.yaml 2025-04-10 00:39:43 +05:30
Muhammad-Owais-Warsi
373423b8c1 add: docker-compose.yaml 2025-04-07 21:58:42 +05:30
Aj Wazzan
de1ed1ea73 refactor: Rename project from Mail0 to 0.email
- Updated docker-compose container names and database names
- Replaced Mail0 references with 0.email in README, ROADMAP, and various source files
- Updated GitHub repository links and references
- Adjusted environment variables and configuration files
- Corrected branding across UI components and documentation
2025-03-06 14:04:44 -08:00
Rahul Mishra
fbc1e73d65 feat: type safe env (#161) 2025-02-13 11:22:48 -05:00
nizzy
a5a3e2ab04 Multi gmail connection (#148)
* feat: Integrate Google OAuth and SWR for mail threads

* refactor: simplify mail list and navigation UI

* feat: enhance mail parsing and UI with sender details and unread status

* chore: update pnpm lock with new dependencies

* refactor: organize imports in app-sidebar component

* dynamic rendering data

* chore: update .gitignore with IDE-specific exclusions

* refactor(mail): update routing and component structure for mail views

* refactor(mail): remove draft and junk routes; update folder names to proper terms in UI and API

* refactor(mail): clean up imports, adjust API endpoints, and improve mail component structures for better clarity and performance

* automatic search

* YOP!

* KIND OF lint. lmao.

* feat:gmail connection WIP

* feat(mail): add mail count endpoint and dynamic sidebar stats

* feat(mail): add sanitization and dynamic provider support for email rendering

* grim's changes

* feat(mail): implement indexedDB caching for email threads and improve SWR configuration in layout component

* feat(mail): enhance indexedDB operations for email threads caching and update SWR configuration for better data handling

* idk

* fix(mail): adjust email body processing and reverse cached email messages for consistent order

* Fullscreen (#154)

* FULL SCREEN!!! RAH!!!

* Update mail-display.tsx

* auth

* email dispaly

* gmail connection

* env example resend add

* fix: env issues

* refactor: replace nanoid with randomUUID for ID generation in early access and update database schema to unify connection table

* refactor: update API endpoint for email connections and modify driver initialization for async support across mail routes

* feat: enhance Gmail OAuth flow and connection handling

- Update Google OAuth driver with expanded scopes and improved token management
- Modify callback route to handle user info extraction and connection creation more robustly
- Add unique constraint to email in connection table
- Improve error handling and logging in authentication process

* fix: improve error responses and connection handling in Gmail integration

- Enhance error messages when tokens or emails are missing.
- Update handling of Gmail connections in the API and user-related components

* feat: add default connection support and improve connection switching

- Add `defaultConnectionId` to user schema
- Implement PUT endpoint to set default connection for a user
- Update mail API routes to use dynamic provider and connection ID
- Enhance NavUser component with account switching functionality
- Modify hooks and auth logic to support default connection selection

* typo

* feat: integrate thread hook for email data loading in MailDisplay component

- Replace local email data state with useThread hook for improved loading management

* fix: improve mail route authorization with connection validation

- Add explicit check for connectionId in session
- Update database query to filter by both userId and connectionId
- Make connectionId optional in ParsedMessage type to support flexible connection handling

* privacy and tos

* linting

---------

Co-authored-by: Aj Wazzan <x_1337@outlook.com>
Co-authored-by: grim <75869731+vys69@users.noreply.github.com>
Co-authored-by: BlankParticle <blankparticle@gmail.com>
2025-02-12 21:56:07 -05:00
BlankParticle
0925dcebf2 chore: add docker compose to run services like postgres locally 2025-02-07 22:27:48 +05:30