Commit Graph

1560 Commits

Author SHA1 Message Date
Leander Beernaert 9390cb64b4 GODT-1817: Restore move related feature tests
Gluon updated to latest dev commit, required for feature. Checks from
move_local_folder.feature are implemented in Gluon.
2023-01-06 10:58:07 +01:00
Leander Beernaert d720feaa6d Other: Flag messages imported into "Sent" mailbox as Sent 2023-01-06 10:58:07 +01:00
Leander Beernaert 9f7cda3b69 Other: Fix testCtx.getMBoxID()
Ensure we always translate the labels to their full name so they match
properly on all commands.
2023-01-06 10:58:07 +01:00
Leander Beernaert 878f67a051 GODT-1817: Delete old fetch test
These are tested in Gluon instead.
2023-01-06 10:58:07 +01:00
Leander Beernaert 7fb8550c97 GODT-1817: Port missing import feature tests 2023-01-06 10:58:07 +01:00
Xavier Michelon 700836aea0
Other: fIxed GUI Tester to comply with latest gRPC changes. 2023-01-06 08:24:34 +01:00
Xavier Michelon 16aaa1b050
GODT-2010: add Cocoa app delegate handler for second application instance. 2023-01-05 17:12:02 +01:00
Xavier Michelon 8790d3cfcf
Other: C++ Code reformat. 2023-01-05 08:37:38 +01:00
Xavier Michelon bb07138fb0
GODT-2236: add log entry when SMTP / IMAP serve method fails. 2023-01-04 16:45:34 +01:00
Leander Beernaert 37c650e490 GODT-1817: Remove deleted check from copy.feature message tests
This check is only possible if the messages are imported via imap APPEND
commands and not through the API client. The latter has no way to
express this state.
2023-01-04 13:37:28 +01:00
Leander Beernaert 272e3895fd GODT-1817: Restore old date message feature test + fix
This patch also fixes the message builder to not override other headers
that already exist to avoid overriding sanitized header entries.
2023-01-04 13:37:28 +01:00
Leander Beernaert 6e7f374b0d GODT-1817: Remove old Drafts and Delete tests.
Test have been ported and other features are validated in Gluon.
2023-01-04 13:37:28 +01:00
Romain Le Jeune 3743e45566 GODT-2221: Set DOH off by default. 2023-01-04 12:08:06 +00:00
Xavier Michelon b10e8abde0
GODT-2234: added command-line switch to force Qt to use software rendering for QML. 2023-01-03 17:54:57 +01:00
Xavier Michelon 5dab4422e9
Other: added C/C++ header template file (*.h.in) type to missing_license.sh script. 2023-01-03 17:42:53 +01:00
Leander Beernaert 82b6037a00 GODT-1817: Add create check to validate mailbox creation
Only allow mailboxes with the "Folder" or "Label/" prefix.
2023-01-03 10:19:11 +01:00
Leander Beernaert 1bdb8b2724 GODT-1817: Add `tests skips reporter checks` to feature tests
Some tests on failure will produce sentry reports. Add a way to skip
the check to see if any reports are produce when we know they will be
triggered.
2023-01-03 10:19:05 +01:00
Leander Beernaert 8c905e4f42 GODT-1817: Port missing IMAP create feature test 2023-01-02 13:37:40 +01:00
Leander Beernaert e9e59a2704 GODT-1817: Port over missing IMAP copy feature test 2023-01-02 13:37:40 +01:00
Leander Beernaert e3a1482b8f Other: Fix double close on event channels 2023-01-02 13:37:40 +01:00
Leander Beernaert 9539b24d64 GODT-1817: Delete old feature test files
All these feature test have either been ported or are already tested in
Gluon.
2023-01-02 13:37:40 +01:00
Leander Beernaert 87caeef0af GODT-1817: Delete unnecessary IDLE tests
Gluon tests already cover this.
2023-01-02 13:37:40 +01:00
Leander Beernaert 757e8a02ec GODT-2233: Fix sub folder creation bug
Sub folders with more than 2 levels of depth (e.g.: Folders/first/second)
could not be created since we did not update the known label list we use
to validate the request.
2023-01-02 11:41:49 +01:00
Leander Beernaert 6d0a128111 Other: Update copyright year 2023-01-02 11:09:11 +01:00
Leander Beernaert 28b36d379b GODT-1817: Update IMAP commands to push errors to error stack 2022-12-21 14:29:42 +01:00
Leander Beernaert 038b5d1437 GODT-2222: Dot not error on unknown Address Events
Prevent infinite error loop in event parsing by not returning errors if
we already have or do not have a given address. This occurs since we
sync the latest state at Bridge startup but still receive the events
which contain these changes later.
2022-12-21 10:16:02 +01:00
Leander Beernaert 038e1794eb GODT-2218: Fix invalid UID ranges
Fix applied in Gluon
2022-12-21 09:15:54 +01:00
Romain LE JEUNE 663b2cd888
Other: Bridge Perth Narrows v3.0.9 2022-12-20 14:18:50 +01:00
Romain LE JEUNE 23f14e5799
Other: Bridge Perth Narrows v3.0.9 2022-12-20 14:05:38 +01:00
Leander Beernaert 55572acdc8 Other: Fix TOTP login (bump go-proton-api) 2022-12-20 13:06:30 +01:00
Leander Beernaert 08125e9281 Merge branch 'release/perth_narrows' into devel 2022-12-20 09:00:26 +01:00
Romain LE JEUNE e8ee9de5b9
Other: Bridge Perth Narrows v3.0.8 2022-12-19 15:53:49 +01:00
Leander Beernaert 91aea0e968 Other: Update go-proton-api to v0.2.2
Fixes crash on invalid response object access.
2022-12-19 15:25:18 +01:00
Leander Beernaert 4cba009ac8 GODT-2188: Do not fail append with invalid mime-type
Requires gluon update where the fix was applied.

Disable TestBridge_Sync_BadMessage as it is no longer valid with the
latest Gluon fixes. Traked as GODT-2215.
2022-12-19 15:24:35 +01:00
Leander Beernaert 47ea4b226a Other: Add sentry reports for event processing failures 2022-12-19 14:38:01 +01:00
Leander Beernaert 00059e6754 Other: Do not fail on label events
Do not treat unknown label creation/deletion/update or deletion in Bridge
as an error as the Gluon cache still needs to receive these events to
correct its internal state.
2022-12-19 14:24:12 +01:00
James Houlahan e4b81063cb GODT-2213: Don't unnecessarily enable/disable autostart 2022-12-19 08:29:57 +00:00
Leander Beernaert 3499fbd758 Other: Do not decode message body during send record hashing
When calculating the hash for the body to match against sent email to
avoid duplicate addition to the sent folder, do not decode the actual
contents of the body.

It is possible that certain attachments are not formed correctly but
can still accepted by the backend. Trimming spaces and \r characters is
enough to hash the message and match it later on.

This also speeds the process up as we no longer have to perform
encoding conversions.
2022-12-16 14:26:59 +01:00
Leander Beernaert 4b3d4690e8 GODT-2196: Do not generate message updates for unknown labels
During sync a user may continue to perform operations on the server it
is possible we run into a message which has a labelID we are not aware
of. To counter this we issue `CreateMessage` updates with
`IgnoreUnknownMailboxIDs` set to true. Eventually, after sync the state
will resolve itself with events.
2022-12-15 09:37:22 +01:00
Leander Beernaert 48480bc839 Merge branch 'release/perth_narrows' into devel 2022-12-14 13:56:00 +01:00
Leander Beernaert 031ed9c203 Other: Update Gluon to latest to revert mailbox subscription bug
Includes fix to remove incomplete feature from Gluon related to mailbox
subscription.
2022-12-14 13:25:56 +01:00
James Houlahan f551732a17 Other: Add SMTP debug dump to disk 2022-12-14 10:27:12 +00:00
Romain LE JEUNE 7a814faed2
Other: Update release notes. 2022-12-14 11:08:34 +01:00
James Houlahan 792317e945 Other: Prevent double login 2022-12-14 10:15:40 +01:00
James Houlahan 9c10e06aac Other: Improve migration logging, prefer username over primary address 2022-12-14 08:16:29 +01:00
Jakub c39108043b Merge branch 'release/perth_narrows' into devel (3.0.7) 2022-12-13 19:37:12 +01:00
Jakub 30bf941979 Other: Bridge Perth Narrows v3.0.7 2022-12-13 19:21:07 +01:00
Jakub 55ee6a9d13 Other: default UIDVALIDITY 2022-12-13 16:16:54 +01:00
Jakub 2b25fe1fa4 GODT-2173: fix: Migrate Bridge password from v2.X. 2022-12-13 14:25:39 +00:00
Jakub 57d563d488 GODT-2173: fix: do not migrate keychain once migrated 2022-12-13 14:25:39 +00:00