Commit graph

13 commits

Author SHA1 Message Date
hrb-hub
6cca94d879 Fix uncaught conversation entry NotFoundError
Close #9270
2025-07-10 16:03:16 +02:00
bed
e0fb71e38e Mark suddenly unverified recipients after hitting "send"
For recipients that have been displayed as verified in the mail editor
and lose the status before sending, the verification shield icon will
be replaced by a failure icon.

Co-authored-by: mab <mab@tutao.de>
2025-04-02 14:02:01 +02:00
mab
2d35ab0d6e Introduce key verification (squash) 2025-03-19 09:29:34 +01:00
Kinan
e1baa01f63 refactor LanguageViewModel to use new translation types
The reason for this refactor is to make it possible to put "data-testid"
attributes on HTML tags. Those attributes can be used with UI test
frameworks to make automated testing independent of the translation
language or text.

The idea is to get rid of the lazy<string> types and instead use a new type
called Translation wherever possible. Translation replaces the old
TranslationText and contains both translation key and translation text.

The type MaybeTranslation is a legacy type left to make the transition feasible.
It can be replaced with either TranslationKey or Translation in the future.

Co-authored-by: map <mpfau@users.noreply.github.com>
2025-01-17 14:48:32 +01:00
wrd
88355bd5d1 Splits MailModel into two, adding MailboxModel
close pi#214

Calendar only needs access to MailboxModel, MailModel handles deleting
and moving mails
2024-09-23 16:49:37 +02:00
map
2d24bab6f9 MailSet support (static mail listIds)
In order to allow importing of mails we replace legacy MailFolders
(non-static mail listIds) with new MailSets (static mail listIds).
From now on, mails have static mail listIds and static mail elementIds.
To move mails between new MailSets we introduce MailSetEntries
("entries" property on a MailSet), which are index entries sorted by
the received date of the referenced mails (customId). This commit adds
support for new MailSets, while still supporting legacy MailFolders
(mail lists) to support migrating gradually.

* TutanotaModelV74 adds:
  * MailSet support
  * and defaultAlarmList on GroupSettings

* SystemModelV107 adds model changes for counter (unread mails) updates

* Adapt mail list to show MailSet and legacy mails
  The list model is now largely unaware about listIds since it can
  display mails from multiple MailBags. MailBags are static mailLists
  from which a mail is only removed from when the mail is permanently
  deleted.

* Adapt offline storage for mail sets
  Offline storage gained the ability to provide cached entities
  from a list of ids.
2024-08-20 16:19:58 +02:00
mup
bbb0b62e3b Moves common functions between worker and app
This commit moves some functions that are used in both App and Worker.
Also renames CommonMailUtils to SharedMailUtils.ts because there share
functionalities between both apps and creates a new file CommonMailUtils
to store functions that are common between app and worker.
2024-07-30 14:27:45 +02:00
wrd
4919979a7c sys-v105 Model changes for calendar app notifications
Co-authored-by: mup <34790144+murilopereirame@users.noreply.github.com>

Also moves the new isDraft function to CommonMailUtils
and other code clean-up
2024-07-26 17:42:25 +02:00
wrd
6a8fcab804 [Calendar] Code improvement for calendar app
Fix files changed in merge
Remove unneeded code from calendar app
Fixes migrations and build file names

small changes
2024-07-26 16:43:01 +02:00
and
418b9bc3f9 [Calendar] Clean project code
Co-authored-by: Murilo Pereira <34790144+murilopereirame@users.noreply.github.com>

This commit fixes the Build scripts and missing imports
from rebase. Fixes tests after apps split, and This commit fixes the
Android project changing the gradle task used to build the Android app.
Also fixes some import errors caused by the rebase.
2024-07-26 16:43:00 +02:00
and
9a783ae7dd [Calendar] Fixes TypeScript imports and Android project
This commit fixes the Android project changing the gradle task
used to build the Android app.

Also fixes some import errors caused by the rebase.

Co-authored-by: Murilo Pereira <34790144+murilopereirame@users.noreply.github.com>
2024-07-26 16:43:00 +02:00
wrd
6a58c93e43 Move files to new folder structure
Co-authored-by: @rih-tutao

Move files to new folder structure

Co-authored-by: @rih-tutao
2024-07-26 16:43:00 +02:00
wrd
aa960b1041 Move mail and contacts functionality that cal needs to common folder
Co-authored-by: rih <rih@tutao.de>
2024-07-26 16:42:15 +02:00
Renamed from src/mail-app/mail/editor/SendMailModel.ts (Browse further)