81 Commits

Author SHA1 Message Date
Ahmet Kilinc
130e6e3054 test pr 2025-09-02 23:32:59 +01:00
Adam
af19315a49 SyncStuff (#1657)
# READ CAREFULLY THEN REMOVE

Remove bullet points that are not relevant.

PLEASE REFRAIN FROM USING AI TO WRITE YOUR CODE AND PR DESCRIPTION. IF YOU DO USE AI TO WRITE YOUR CODE PLEASE PROVIDE A DESCRIPTION AND REVIEW IT CAREFULLY. MAKE SURE YOU UNDERSTAND THE CODE YOU ARE SUBMITTING USING AI.

- Pull requests that do not follow these guidelines will be closed without review or comment.
- If you use AI to write your PR description your pr will be close without review or comment.
- If you are unsure about anything, feel free to ask for clarification.

## Description

Please provide a clear description of your changes.

---

## Type of Change

Please delete options that are not relevant.

- [ ] 🐛 Bug fix (non-breaking change which fixes an issue)
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 💥 Breaking change (fix or feature with breaking changes)
- [ ] 📝 Documentation update
- [ ] 🎨 UI/UX improvement
- [ ] 🔒 Security enhancement
- [ ]  Performance improvement

## Areas Affected

Please check all that apply:

- [ ] Email Integration (Gmail, IMAP, etc.)
- [ ] User Interface/Experience
- [ ] Authentication/Authorization
- [ ] Data Storage/Management
- [ ] API Endpoints
- [ ] Documentation
- [ ] Testing Infrastructure
- [ ] Development Workflow
- [ ] Deployment/Infrastructure

## Testing Done

Describe the tests you've done:

- [ ] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing performed
- [ ] Cross-browser testing (if UI changes)
- [ ] Mobile responsiveness verified (if UI changes)

## Security Considerations

For changes involving data or authentication:

- [ ] No sensitive data is exposed
- [ ] Authentication checks are in place
- [ ] Input validation is implemented
- [ ] Rate limiting is considered (if applicable)

## Checklist

- [ ] I have read the [CONTRIBUTING](https://github.com/Mail-0/Zero/blob/staging/.github/CONTRIBUTING.md) document
- [ ] My code follows the project's style guidelines
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in complex areas
- [ ] I have updated the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix/feature works
- [ ] All tests pass locally
- [ ] Any dependent changes are merged and published

## Additional Notes

Add any other context about the pull request here.

## Screenshots/Recordings

Add screenshots or recordings here if applicable.

---

_By submitting this pull request, I confirm that my contribution is made under the terms of the project's license._


<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

* **New Features**
  * Improved email thread synchronization for enhanced performance and reliability.
  * Added support for advanced search and label filtering when listing email threads.

* **Bug Fixes**
  * Refined cache invalidation logic to ensure up-to-date thread and message lists in the user interface.

* **Chores**
  * Updated environment variables and documentation to reflect new sync options and configuration changes.
  * Enhanced internal sync tracking and reduced redundant synchronization operations.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-07-07 13:42:16 -07:00
Shiva Raghav
a0bf70fd16 fix(docs): correct spelling in README (#1307)
Co-authored-by: Adam <x_1337@outlook.com>
2025-06-23 13:31:43 -07:00
Bhat Aasim
e930e93eb6 doc: Add video tutorial for local setup (#1432) 2025-06-23 13:08:24 -07:00
Harsh
a8f2191153 docs: add Twilio setup instructions (#1445) 2025-06-23 11:54:03 -07:00
snehendu098
fbca03674d email print feature added 2025-05-25 17:36:41 +00:00
Aj Wazzan
c7b99e03a8 Remove Vercel deployment button from README.md 2025-05-22 13:36:46 -07:00
BlankParticle
d58c40669b feat: add helper cli 2025-05-21 20:26:33 +05:30
BlankParticle
a4d7889fa2 chore: do optimizations 2025-05-20 16:52:55 +05:30
BlankParticle
fa45abaf44 feat: remixify and whatever else needed to be done 2025-05-20 13:56:47 +05:30
nizzy
7c7687c8ff Merge pull request #991 from Mail-0/staging
Staging
2025-05-17 01:15:59 -04:00
Aditya Tripathi
37a8a4ff42 feat: agnostic image with runtime variables + typed config 2025-05-16 00:03:13 +00:00
Aditya Tripathi
15092dd7c5 Merge branch 'staging' of github.com:Mail-0/Zero into feat/docker-improvements 2025-05-15 21:26:52 +00:00
Adam
283baecf5e Merge pull request #978 from Mail-0/staging
Staging
2025-05-14 16:16:20 -07:00
Aj Wazzan
7d801fb2f2 docs: add Autumn setup instructions to README and improve customer features check in use-billing hook 2025-05-13 11:21:11 -07:00
Adam
8ce4499df2 Merge pull request #951 from Mail-0/staging
Staging
2025-05-12 10:52:52 -07:00
BlankParticle
63124379e8 chore: update docs to mention cloudflare sync 2025-05-12 13:42:51 +05:30
nizzy
772ccd0341 Update README.md 2025-05-10 12:01:32 -04:00
Aditya Tripathi
606e7b2b58 chore(ci): fix redis proxy healthcheck + add db compose for development 2025-05-05 22:36:11 +00:00
Adam
cc0ffd5f79 Staging (#749)
* draft fixes:
- added cc and bcc when saving drafts
- save drafts less aggresively

* some fixes for saving attachments to draft

* fix for empty draft loading

* fix draft list recipient name/address

* also show 'No Recipient' if empty

* remove comments

* switch to mimetext for draft saving to keep formatting consistent

* add message title to draft list

* feat: single api for oauth connections

* fix: add extra error handling

* chore: simplify and fix the dev env

* Ai generate security (#706)

* Create prompts with XML formatting

* Include XML formatted prompts in generate func

* remove unused regex and add helper functions/warnings

* error handling

* Update apps/mail/lib/prompts.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* lint issues

* Update prompts.ts

* https://github.com/Mail-0/Zero/pull/706#discussion_r2049650081

Coderabbit fix 1

* erabbitai bot 3 days ago ⚠️ Potential issue  errorOccurred state is stale inside finally  React state setters (setErrorOccurred) are asynchronous; the errorOccurred value captured at render time will not yet reflect changes made earlier in the same event loop. Consequently, the logic deciding whether to collapse/expand may run with an outdated flag.  -  } finally { -      setIsLoading(false); -      if (!errorOccurred || isAskingQuestion) { -        setIsExpanded(true); -      } else { -        setIsExpanded(false); // Collapse on errors -      } -  } +  } finally { +      setIsLoading(false); +      // Use a local flag to track errors deterministically +      const hadError = isAskingQuestion ? false : !!errorFlagRef.current; +      setIsExpanded(!hadError); +  } You can create const errorFlagRef = useRef(false); and update errorFlagRef.current = true every time an error is detected, ensuring reliable behaviour irrespective of React batching.  Committable suggestion skipped: line range outside the PR's diff.

* https://github.com/Mail-0/Zero/pull/706#discussion_r2049650112

* https://github.com/Mail-0/Zero/pull/706#discussion_r2049650106

* https://github.com/Mail-0/Zero/pull/706#discussion_r2049650097

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Add a new Vietnamese translation file to support Vietnamese language users (#726)

* feat(i18n): add Vietnamese language support

Add Vietnamese ('vi') to the list of supported languages in the
i18n configuration and JSON file to expand language options.

* Add a new Vietnamese translation file to support Vietnamese language users.

* Clear Vietnamese translation strings

* Update es.json (#710)

Co-authored-by: needle <122770437+needleXO@users.noreply.github.com>

* Update app manifest and add new icons for PWA (#739)

* feat: allow sending from email aliases added through gmail (#743)

* Refactor IP handling in early-access routes

* Add unauthorized error handling in sign out function

---------

Co-authored-by: Ahmet Kilinc <akx9@icloud.com>
Co-authored-by: BlankParticle <blankparticle@gmail.com>
Co-authored-by: grim <75869731+ripgrim@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Chánh Đại <dai@chanhdai.com>
Co-authored-by: Dani B. <danibaldomirm@gmail.com>
Co-authored-by: needle <122770437+needleXO@users.noreply.github.com>
Co-authored-by: Humber Nieto <56887259+humbernieto@users.noreply.github.com>
Co-authored-by: Atharva Deosthale <atharva.deosthale17@gmail.com>
2025-04-22 11:03:55 -07:00
Aj Wazzan
943f4dc3ac Improve data privacy statement for Zero email service 2025-04-11 12:41:24 -07:00
Ahmet Kilinc
2b96a33af8 text-decoration 2025-03-25 22:23:28 +00:00
Ahmet Kilinc
4f66da82c2 remove text-decoration 2025-03-25 22:22:38 +00:00
Ahmet Kilinc
a1d0cd1b86 add contributors 2025-03-25 22:20:41 +00:00
Ahmet Kilinc
0f9c50f711 updated readme 2025-03-25 22:04:01 +00:00
James Haworth
796b636c12 fix: README logo styling 2025-03-19 20:54:20 +00:00
James Haworth
141db1c918 docs: Center logo in README 2025-03-19 20:52:33 +00:00
James Haworth
59ba1e7cb3 docs: Update README to display dark icon in light mode 2025-03-19 20:47:39 +00:00
nizzy
4cf53aebc9 Update README.md (#462) 2025-03-17 01:35:11 -04:00
nizzy
8b139d8c84 feat: migrate to bun (#443) 2025-03-14 14:41:55 -04:00
user12224
70e68fc8f5 docs 2025-03-14 05:08:48 +02:00
user12224
fa7b69c539 minor 2025-03-14 00:30:10 +02:00
user12224
9075f939b4 feat(crowdin): config 2025-03-13 23:49:25 +02:00
Adam
69422af9f6 Merge branch 'main' into staging 2025-03-13 08:11:43 -07:00
Adam
a237c35a5e Merge pull request #428 from choephix/fix-readme-typo-1
Fix typo in README.md
2025-03-13 07:47:42 -07:00
Stefan
75a2f06b03 Fix new hint in README by adding the missing dir paths to the source .env.example files 2025-03-13 12:36:13 +02:00
Stefan
842700dfb1 Add cp .env.example ... line for easy copy-paste action 2025-03-13 12:29:40 +02:00
Stefan
2c823c5e6a Fix typo in README.md
(using github username instead of repo name to cd into folder)
2025-03-13 12:08:34 +02:00
user12224
0424a8dc2c refactor 2025-03-10 13:21:18 +02:00
user12224
50bd1e18c3 format 2025-03-10 11:38:09 +02:00
user12224
3f14ce4d9b format 2025-03-10 11:35:50 +02:00
user12224
c3d868eea9 refactor: docs 2025-03-10 11:28:09 +02:00
user12224
71b11e2f30 refactor: docs 2025-03-10 11:26:19 +02:00
Ahmet Kilinc
a3b3aa3d47 Release 0.6 (#404)
* fix(ui): Fixes "isThinking is not defined" on the landing page

* Update README.md (#396)

* docs: more documentation on database environment setup

* docs: added note for more clarity on db env

* docs: details on where the .env should be copied at

* docs: removed unnecessary phrase

* docs: added contributing md link in readme (#399)

* feat(ui): Design Improvements (Landing page & AI Summary)

* fix(ui): Fix MailCategoryTabs tooltip showing when "iconsOnly" is false

* minor

* minor

* fix(UI): black bars for mobile

* Update LICENSE to MIT

* Update LICENSE

* remove license from apps folder. MIT license applies to whole app

---------

Co-authored-by: hsp4m <sp4m787@gmail.com>
Co-authored-by: nizzy <140507264+nizzyabi@users.noreply.github.com>
Co-authored-by: nyzs <oknakoca@gmail.com>
Co-authored-by: Aj Wazzan <x_1337@outlook.com>
Co-authored-by: user12224 <122770437+user12224@users.noreply.github.com>
Co-authored-by: Nizzy <nizabizaher@gmail.com>
2025-03-08 13:31:35 -05:00
nyzs
0308fb0f96 docs: added contributing md link in readme (#399) 2025-03-07 15:23:30 +01:00
nyzs
c33eee070e docs: removed unnecessary phrase 2025-03-07 10:11:29 +01:00
nyzs
0f25a5a49d docs: details on where the .env should be copied at 2025-03-07 10:08:17 +01:00
nyzs
f32910d6d6 docs: added note for more clarity on db env 2025-03-07 09:45:12 +01:00
nyzs
682c4b9617 docs: more documentation on database environment setup 2025-03-07 09:38:11 +01:00
nizzy
70e76d2102 Update README.md (#396) 2025-03-07 00:29:40 -05:00