Commit Graph

1018 Commits

Author SHA1 Message Date
Leander Beernaert 43100d11bf fix(GODT-2323): Fix Expunge not issued for move
When moving between system labels the expunge commands were not being
issued.
2023-02-07 15:09:23 +01:00
James Houlahan 4876314cf5 fix(GODT-2341): Handle URL error 2023-02-07 14:31:06 +01:00
Romain Le Jeune 1e09fd6662 feat(GODT-2278): improve sentry logs. 2023-02-07 14:31:06 +01:00
James Houlahan 48f2c56caa fix(GODT-2327): Better sleep (with context) 2023-02-07 14:31:06 +01:00
James Houlahan 20d83dd476 fix(GODT-2327): Loop to retry until sync has complete 2023-02-07 14:31:06 +01:00
James Houlahan 9c6be78b4c fix(GODT-2327): Don't retry with abortable context because it's canceled 2023-02-07 14:31:06 +01:00
James Houlahan 0a8e71771e fix(GODT-2327): Fix lint issue 2023-02-07 14:31:06 +01:00
James Houlahan 29d1c7bccd fix(GODT-2327): Remove unnecessary sync abort call 2023-02-07 14:31:06 +01:00
James Houlahan ca1996a670 fix(GODT-2327): Properly cancel event stream when handling refresh 2023-02-07 14:31:06 +01:00
James Houlahan ab1c1c474a fix(GODT-2327): Clear update channels whenever clearing sync status 2023-02-07 14:31:06 +01:00
James Houlahan 63bc87cc86 fix(GODT-2327): Only start processing events once sync is finished 2023-02-07 14:31:06 +01:00
James Houlahan 232875d5cc fix(GODT-2327): Delay event processing until gluon user exists
We don't want to start processing events until those events have
somewhere to be sent to.

Also, to be safe, ensure remove and re-add the gluon user while
clearing its sync status. This shouldn't be necessary.
2023-02-07 14:31:02 +01:00
James Houlahan 5ea53ea5c0 fix(GODT-2318): Remove gluon DB if label sync was incomplete 2023-02-06 16:36:15 +00:00
James Houlahan 3bd39b3ea5 fix(GODT-1804): Only promote content headers if non-empty
When attaching public key, we take the root mime part, create a new root,
and put the old root alongside an additional public key mime part.
But when moving the root, we would copy all content headers, even empty ones.
So we’d be left with Content-Disposition: "" which would fail to parse.
2023-02-06 15:57:24 +00:00
James Houlahan e89dcb2cca fix(GODT-2343): Only poll after send if sync is complete 2023-02-06 16:33:53 +01:00
James Houlahan 2cb2ca15c7 fix(GODT-2336): Recover from changed address order while bridge is down 2023-02-03 16:05:30 +01:00
James Houlahan db41645159 test: Add failing test for changing address order while bridge is down 2023-02-03 15:51:18 +01:00
James Houlahan 4cf23bb2e6 fix(GODT-2328): Ignore labels that aren't part of user label set 2023-02-02 16:59:07 +01:00
Leander Beernaert df40f27069 test(GODT-2326): Remove user tests
These tests no longer work due to sync only being started after an
account has been added. Functionality of these tests is covered in the
bridge unit tests.
2023-02-02 16:26:38 +01:00
Leander Beernaert 76d732f247 fix(GODT-2326): Only run sync after addIMAPUser()
There is concurrency bug due to competing sync calls that can occur when
we clear the sync status in the Vault. Running sync at the end of
addIMAPUser() avoids the problem.

This patch also remove the execution of a sync task for
`user.ClearSyncStatus()`
2023-02-02 16:26:12 +01:00
Xavier Michelon 52daa165a2 fix(GODT-2319): seed the math/rand RNG on app startup. 2023-02-01 10:42:09 +01:00
James Houlahan 4c5ba04822 fix(GODT-1804): Preserve MIME parameters when uploading attachments 2023-02-01 10:41:55 +01:00
Xavier Michelon 4aa1091f62
GODT-2210: fix splash screen always showing on CentOS and Ubuntu. 2023-01-27 14:10:14 +01:00
Xavier Michelon 7e36b215fe
GODT-1453: clicking 'Sign in' from status window now selects the right account. 2023-01-26 17:27:55 +01:00
Xavier Michelon 048c3a900c
GODT-2145: Fix button spacing w/ Qt 6.4. 2023-01-25 17:35:21 +01:00
James Houlahan cf32b84257 GODT-2305: Detect missing gluon DB 2023-01-25 14:55:13 +01:00
James Houlahan e7dea0a77f GODT-2223(test): Fix array access off-by-one in test code 2023-01-25 13:05:05 +01:00
Jakub 160489a771 GODT-2223: Testing event processing scenarios. 2023-01-25 13:05:04 +01:00
Jakub 996c6826b9 GODT-2223: Handle gracefully multiple create events with same id. 2023-01-25 13:04:04 +01:00
James Houlahan 43b871a124 GODT-2210: Typo fix 2023-01-25 09:51:18 +00:00
Xavier Michelon d1bf186040 Other: changed splash screen icon. 2023-01-25 09:42:00 +00:00
Xavier Michelon 24c68f100e GODT-2210: v3.0 splash screen.
Other: new splash screen content.
2023-01-25 09:42:00 +00:00
James Houlahan 1bfabf9a83 GODT-2296: Log error rather than fail if cannot get parent ID 2023-01-25 09:09:14 +00:00
James Houlahan e8a778feca GODT-2266: Pause event stream while sending 2023-01-25 09:47:27 +01:00
James Houlahan 60b1c4d8f7 GODT-2177: Use correct attachment disposition when content ID is set 2023-01-24 16:31:14 +01:00
Romain LE JEUNE f1404cd3ee
GODT-1556: If no references, use the in-reply-to header as ParentID. 2023-01-24 15:36:23 +01:00
Romain Le Jeune ee4da8a89c GODT-2291: Change gluon store default location from Cache to Data. 2023-01-24 13:35:45 +00:00
Xavier Michelon 5a70a16149
GODT-1770: handle UserBadEvent in CLI and gRPC. 2023-01-24 13:07:27 +01:00
Romain Le Jeune f019ba3713 Other: Disable dialer test until badssl cert is bumbed. 2023-01-24 09:59:32 +00:00
James Houlahan 94703bcf37 GODT-2223: Treat label/message deletion errors as non-critical 2023-01-23 21:25:15 +01:00
Xavier Michelon 40cc6b54c9
Other: make GUI Tester more resilient to Bridge abrupt termination. 2023-01-23 08:26:52 +01:00
Xavier Michelon 584ea7e9f8
GODT-2275: fixed location of bridge-gui log files. 2023-01-20 15:38:38 +01:00
Xavier Michelon cbdbc124db
GODT-2258: suggest email as login when signing in via status window. 2023-01-20 15:02:44 +01:00
James Houlahan b9c3fa9401 GODT-2266: Add test for sent message flags 2023-01-20 13:04:01 +00:00
James Houlahan 0e4ec8a8b8 Other: Ensure SMTP debug dump works on windows 2023-01-20 13:33:14 +01:00
James Houlahan c3e4bb80a8 Other: Fix MaxLogs off-by-one limit and bump limit to 10 2023-01-20 12:52:22 +01:00
Romain Le Jeune 6459840507 GODT-2253: Restart Launcher from the gui when GUI crashes. 2023-01-20 07:43:02 +00:00
James Houlahan 87abbe9396 Other: Report corrupt and/or insecure vaults to sentry 2023-01-20 08:00:52 +01:00
James Houlahan d26a8319b6 Other: Better user load logs 2023-01-19 17:47:45 +01:00
James Houlahan 59a29da054 Other(debug): Dump raw SMTP input to user's home dir 2023-01-19 13:30:28 +01:00