Passing instances explicitly avoids the situations where some of them
might not be initialized.
We also simplified the entity handling by converting entity updates to
data with resolved types early so that the listening code doesn't have
to deal with it.
We did fix some of the bad test practices, e.g. setting/restoring env
incorrectly. This matters now because accessors for type model
initializers check env.mode.
Co-authored-by: paw <paw-hub@users.noreply.github.com>
Refactor our instance deserialization/serialization pipeline, both on
TypeScript and on Rust [sdk] to use typeId and attributeIds instead of
typeNames and attributeNames. We furthermore ignore cardinalities
on associations until the instance layer and always
store associations as arrays. This commit introduces **eventual
consistency** on the client, i.e. we are from now on always storing data
in the newest schema format (activeApplicationVersionsForWritingSum)
which ensures that all data is already available on the client after
updating the client to a newer version. This removes the need for
offline migrations on the client and also removes backward migrations
on the server. Furthermore, the server model types are now available
on the client, retrievable through the ApplicationTypesFacade. This is
our first step towards FastSync.
Co-authored-by: nig <nig@tutao.de>
Co-authored-by: abp <abp@tutao.de>
Co-authored-by: jomapp <17314077+jomapp@users.noreply.github.com>
Co-authored-by: map <mpfau@users.noreply.github.com>
Co-authored-by: sug <sug@tutao.de>
Co-authored-by: Kinan <104761667+kibibytium@users.noreply.github.com>
There is now the option to get the first month of a paid plan for free. This offer is exclusive and applies to all paid plans with yearly payment interval.
- Added ribbon & update headline
- Added system model v125
- Added price footnote to `BuyOptionBox` and `SubscriptionSelector`
- Added dummy 0$ readonly text field for first month free price display
- Added "nota" color for red and blue Tuta theme
- Hidden pricing fields in app store payment method
- Removed option for bank transfer payment method in case of first month for free offer
- Fixed rendering issue on `RedeemGiftCardWizard`. Clicking on "Register" or "Use existing account" would not display the next page unless a redraw is manually triggered (i.e. by clicking anywhere on the dom).
Co-authored-by: yoy <yoy@tutao.de>
Co-authored-by: jug <jug@tutao.de>
Co-authored-by: arm <7211155+armhub@users.noreply.github.com>
- Updated the support dialogue to make it more user-friendly
- Updated Tutanota model to v82
close#8162
Co-authored-by: arm <armhub@users.noreply.github.com>
Co-authored-by: jug <jug@tutao.de>
Co-authored-by: yoy <yoy@tutao.de>