Commit Graph

14 Commits

Author SHA1 Message Date
BlankParticle
fa45abaf44 feat: remixify and whatever else needed to be done 2025-05-20 13:56:47 +05:30
Aj Wazzan
d707420fd6 chore: update .gitignore, add devDependencies in package.json, and enhance server configuration 2025-05-07 16:30:30 -07:00
BlankParticle
94e7d68db9 feat: first working version of separated backend 2025-05-08 00:44:52 +05:30
Aj Wazzan
847368b126 Update dependencies, refine styles, and enhance mail components 2025-04-23 20:50:43 -07:00
maxprilutskiy
04a5f6f137 feat: install @LingoDotDev 2025-04-10 15:12:55 -07:00
nizzy
8b139d8c84 feat: migrate to bun (#443) 2025-03-14 14:41:55 -04:00
Ahmet Kilinc
13cf92122b hope this fixes everything 2025-03-01 19:12:20 +00:00
Ahmet Kilinc
14cc671656 added to .gitignore 2025-02-25 19:05:58 +00:00
Nizzy
dd34d7d420 monorepo 2025-02-24 21:00:46 -05:00
Rishav Kundu
adbfe6dd07 feat: add empty state component for MailList when no messages are present (#182) 2025-02-15 11:18:04 -05:00
Jacob
45c65daa4a init: move to turborepo and configure workspaces 2025-02-14 07:47:14 +10: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
Argenis Cuellar
15a961a8b9 feat: better-auth implementation with drizzle (#17)
* feat: better-auth implementation

* feat: added signout

* feat: added conditional sign in or signout button

* chore: updated sign in description

* feat: added conditional log in rendering

* Update example.env

Co-authored-by: Praash <99237795+Praashh@users.noreply.github.com>

* chore: remove param

* chore: lint and format

* chore: rename env example file

* fixes

---------

Co-authored-by: Praash <99237795+Praashh@users.noreply.github.com>
Co-authored-by: Nizzy <nizabizaher@gmail.com>
2025-02-06 20:39:45 -05:00
Nizzy
9a240648a0 initial commit 2025-02-02 17:26:24 -05:00