Commit Graph

48 Commits

Author SHA1 Message Date
BlankParticle
a4d7889fa2 chore: do optimizations 2025-05-20 16:52:55 +05:30
Aj Wazzan
5fe48ca848 chore: add .nvmrc file for Node version management; update CI workflows to remove version specifications for pnpm and Node 2025-05-20 02:14:16 -07:00
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
hmacr
edb6b8d466 doc: update db start command 2025-05-19 19:35:05 +05:30
Bilgi Lovelace
4604a5d62a Add warnings because staging is the base branch for contribution 2025-05-14 00:12:28 +02:00
BlankParticle
63124379e8 chore: update docs to mention cloudflare sync 2025-05-12 13:42:51 +05:30
Aj Wazzan
67561c3799 chore: remove unused cache configuration from CI workflows 2025-05-03 22:49:35 -07:00
Aj Wazzan
0cf2f0a34a refactor: simplify CI workflow by removing environment variable for RUNNER_IMAGE 2025-05-03 22:48:30 -07:00
Aj Wazzan
b4b60b1b07 fix: update CI workflow to use github.env for RUNNER_IMAGE 2025-05-03 22:42:09 -07:00
Aj Wazzan
999e38288b Enhance CI workflows by adding concurrency settings, updating runner images to use 'ubuntu-latest', and adjusting timeout values. Also, switched to actions/setup-node@v4 and enabled caching for bun dependencies. 2025-04-28 16:49:28 -07:00
blacksmith-sh[bot]
d7991381ee Migrate workflows to Blacksmith 2025-04-25 21:06:26 +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
Max Prilutskiy
c8e21e6781 docs: add @LingoDotDev instructions to translation.md 2025-04-14 13:58:29 -07:00
Max Prilutskiy
7aa7e3451b feat: pull request mode @LingoDotDev 2025-04-14 12:22:26 -07:00
Max Prilutskiy
c04f24ae0a chore: enable @LingoDotDev pull request mode 2025-04-14 11:58:07 -07:00
maxprilutskiy
04a5f6f137 feat: install @LingoDotDev 2025-04-10 15:12:55 -07:00
Aj Wazzan
84d2f2b890 saving... 2025-03-21 09:20:53 -07:00
Aj Wazzan
8de0716ffb saving... 2025-03-20 17:12:43 -07:00
user12224
cd1f6d2b74 minor 2025-03-19 17:48:16 +02:00
Aj Wazzan
86a9c7331c saving... 2025-03-16 22:58:38 -07:00
Aj Wazzan
1b8c5d75e4 saving... 2025-03-16 22:51:12 -07:00
Aj Wazzan
8c4257fe76 minor 2025-03-16 22:22:20 -07:00
Aj Wazzan
c85b1193c4 minor 2025-03-16 22:21:09 -07:00
Aj Wazzan
32ead7c008 minor 2025-03-16 22:19:07 -07:00
Nikita D
f7a00bc0d0 Merge branch 'staging' of https://github.com/Mail-0/Zero into fix/lints 2025-03-14 20:54:31 -07:00
user12224
5bee8afb56 chore: translation docs 2025-03-14 23:33:51 +02:00
nizzy
8b139d8c84 feat: migrate to bun (#443) 2025-03-14 14:41:55 -04:00
user12224
a92ce34145 format 2025-03-14 05:35:15 +02:00
needle
045827f1f6 docs 2025-03-14 05:13:30 +02:00
needle
9e900ffd29 docs 2025-03-14 05:10:29 +02:00
needle
06f5c18eb6 update docs 2025-03-14 05:10:04 +02:00
user12224
70e68fc8f5 docs 2025-03-14 05:08:48 +02:00
Nikita D
f442300176 Merge branch 'main' into fix/lints 2025-03-13 14:24:45 -07:00
Nikita D
71d1261939 Added disclaimer to contributors 2025-03-13 10:42:34 -07: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
71b11e2f30 refactor: docs 2025-03-10 11:26:19 +02:00
KotaIkehara
73f41d9b7e docs: update development setup instructions in CONTRIBUTING.md 2025-03-08 11:09:36 +09:00
KotaIkehara
337df4208a docs: update table of contents in CONTRIBUTING.md for better navigation 2025-03-08 11:09:02 +09:00
Aj Wazzan
27a77f5f25 minor 2025-03-06 16:13:42 -08:00
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
nizzy
c37694e59d Create FUNDING.yml (#359)
* Create FUNDING.yml

* Update FUNDING.yml
2025-03-02 12:09:42 -05:00
Ahmet Kilinc
0e155f3673 updated pull request template to be more clear 2025-02-24 01:06:18 +00:00
Ahmet Kilinc
d5f85a4282 updated PULL_REQUEST_TEMPLATE.md 2025-02-21 13:11:06 +00:00
Ahmet Kilinc
5a55eb0234 added templates for github 2025-02-20 21:22:26 +00:00
Rahul Mishra
2c00726c00 chore: add prettier, format and add CI (#34) 2025-02-06 14:17:20 -05:00