d6304b087a
fix(GODT-2627): Fix crash on closed channel
...
See `TestSendHasher_DualAddDoesNotCauseCrash`'s comment for more
details.
2023-05-17 11:01:30 +02:00
21f833ea11
fix(GODT-2307): removed deprecated macOS security framework function.
2023-05-17 07:52:42 +00:00
900caec09e
fix(GODT-2637): Fix address parser error due to trailing separator
...
https://github.com/ProtonMail/gluon/pull/353
2023-05-16 16:06:49 +02:00
9fc9f5ad9f
fix(GODT-2635): Ensure Bridge can be compiled with GCC 13
...
Requires updating vcpkg to include the port fixes.
2023-05-16 11:38:58 +02:00
d8ccc6c05d
fix(GODT-2626): Handle rare crash due to missing address update ch
...
Ensure that we can handle the rare case that can cause a crash if for
whichever reason we end up with an Address Delete and Message
Create/Update in the same event object.
2023-05-16 10:41:36 +02:00
4e3ad4f7fa
fix(GODT-2626): Server Events should not be merged.
...
d18e5932b28f83b201709a04fb7b8c6f74003574
Includes GPA bump: https://github.com/ProtonMail/go-proton-api/pull/80
2023-05-16 09:53:41 +02:00
8c958cdc2f
chore: Bump Gluon for GODT-2595, GODT-2634 and GODT-2619
...
https://github.com/ProtonMail/gluon/pull/350
https://github.com/ProtonMail/gluon/pull/351
https://github.com/ProtonMail/gluon/pull/352
2023-05-16 09:34:45 +02:00
0ef9c9c9c9
fix(GODT-2606): Improve Vault concurrency scopes
...
Rewrite the vault to have one RWlock rather then two separate locks for
data and reference counts.
In certain circumstance, it could be possible that that different
requests could end up in undefined states if a user got deleted
successfully while at he same time another goroutine/thread is loading
the given user.
While I have not been able to reproduce this in a test, restricting the
access scope to one lock rather than two, should avoid corner cases
where logic code is executing outside of the lock scope.
2023-05-15 13:28:00 +02:00
73bb0ed03e
chore: Bridge Rialto 3.2.0 changelog
2023-05-15 12:03:28 +02:00
faf3780eee
test: Fix TestBridge_Report
2023-05-12 15:37:33 +02:00
98031d296e
Revert "fix(GODT-2588): Always perma-delete from Drafts/Trash"
...
This reverts commit f9a0c35daa .
2023-05-12 10:19:56 +02:00
d08b3fcca4
chore: extend the timeout for integration test form 20m to 30.
2023-05-12 07:28:41 +00:00
6adb440b84
fix(GODT-2623): log IMAP/SMTP login failure as error.
2023-05-12 07:28:41 +00:00
a3e07428b5
chore: Improve CPC code
...
* Remove distinction between values with and without reply.
* Hide types that don't need to be public.
* Don't allow direct access to the request's internal types.
2023-05-12 09:06:54 +02:00
dfd85f7ed3
fix(GODT-2625): Update bridge pubkey and add option to verify in hasher.
v3.2.0
2023-05-12 07:19:16 +02:00
4b5edd62d0
feat(GODT-2585): Only Start IMAP/SMTP once one user is loaded
...
Update ServerManager to follow the new expected behavior. The servers
will only be started when one user is active.
If all users are logged out or removed from the system, the servers will
stop.
If the network goes down, the servers will stop and resume once network
has been restored.
2023-05-11 16:27:54 +02:00
fb4a0e77af
feat(GODT-2585): Server Manager
...
Add a dedicated go-routine whose sole responsibility is to manage the
life time of the IMAP and SMTP servers and their listeners.
The current implementation behaves the same way as the previous state.
The new behavior will be implemented in a follow MR.
2023-05-11 09:48:54 +02:00
edac2419f9
feat(GODT-2585): Add CPC utility
...
Add Channel based RPC utilities.
2023-05-11 09:48:54 +02:00
6ba8052a1e
feat(GODT-2621): display pop up warning when IMAP login fails because user is locked (connecting).
2023-05-10 15:53:44 +00:00
51288791c0
fix(GODT-2527): Cleanup 503 test since handled by GPA.
2023-05-10 16:14:18 +02:00
51aafe3266
chore: Bridge Rialto 3.2.0 changelog
2023-05-10 09:15:22 +02:00
8fd09547fa
chore: Bridge Rialto 3.2.0 changelog
2023-05-10 09:00:31 +02:00
aba94a9353
chore: merge release Quebec into Rialto
...
Fix: GODT-2614
Fix: GODT-2616
2023-05-10 08:50:20 +02:00
e6dfb814fd
fix(GODT-2616): Updage gluon: GODT-2620 and GODT-2616
...
Fix: GODT-2616 Silence out of order UID
Fix: GODT-2620 Always defer wait group done on the goroutine to avoid stalls in case of panics.
2023-05-10 08:38:35 +02:00
bfa53b1619
fix(GODT-2588): revert "Always perma-delete from Drafts/Trash"
...
This reverts commit f9a0c35daa .
2023-05-10 08:24:28 +02:00
b9c54e9276
fix(GODT-2615): remove keyboard shortcut for tray icon context menu on Windows and Linux.
2023-05-09 16:03:22 +02:00
71d7deb3b1
chore: Bridge Quebec 3.1.3 changelog
v3.1.3
2023-05-09 11:36:35 +02:00
e606d98664
fix(GODT-2613): install the TLS certificate in the user keychain.
2023-05-09 08:55:50 +00:00
36342299c7
chore: Set default log level to Debug
2023-05-09 08:05:11 +00:00
a05f93debd
feat(GODT-2520): Update error message for free users.
2023-05-09 07:20:15 +00:00
c438704648
test: Disable sync open files test
...
It is os specific and it has a tendency to succeed on CI runners.
2023-05-09 08:31:28 +02:00
0417e495ae
fix(GODT-2618): Crash when address does not have unlocked keyring
2023-05-09 08:31:28 +02:00
bda158d6c6
feat(GODT-2346): treat external address as disabled one.
2023-05-09 04:12:12 +00:00
ad02c71ad6
fix(GODT-2616): Silence out of Order UID report
...
https://github.com/ProtonMail/gluon/pull/348
2023-05-08 11:48:13 +00:00
eee2c73a61
feat(GODT-2610): re-use previous password when removing and adding back account.
2023-05-08 11:43:48 +02:00
5630b7d2e6
fix(GODT-2616): Silence UID of order report
...
https://github.com/ProtonMail/gluon/pull/347
2023-05-08 10:27:37 +02:00
2ee4893325
fix(GODT-2614): Handle failed update during sync
...
The sync process was getting stuck since we never handled the case where
the update to Gluon failed. This caused the flush stage to exist, but
the sync process would continue until it eventually gets stuck due to
lack of progress.
2023-05-08 09:40:53 +02:00
01aa19edff
fix(GODT-2615): remove keyboard shortcut for tray icon context menu on Windows and Linux.
2023-05-08 07:49:09 +02:00
a0db1645f2
fix(GODT-2614): Handle failed update during sync
...
The sync process was getting stuck since we never handled the case where
the update to Gluon failed. This caused the flush stage to exist, but
the sync process would continue until it eventually gets stuck due to
lack of progress.
2023-05-05 16:09:23 +02:00
324593596a
chore: Update Gluon for async.Group.Do() fix
...
https://github.com/ProtonMail/gluon/pull/346
2023-05-05 14:50:09 +02:00
b51d85e768
chore: upgraded golangci-lint v1.52.2 and fixed all issues.
2023-05-05 07:57:22 +02:00
bd47303074
feat(GODT-2611): bridge CLI exits on the first SIGINT / Ctrl+C.
2023-05-04 11:48:05 +02:00
fdae8cb729
feat(GODT-2540): make icon loading failure behavior consistent.
2023-05-03 16:40:29 +02:00
333daa05c5
feat(GODT-2540): pop-up notification error icon is loaded on startup.
2023-05-03 15:19:02 +02:00
6a6ead8e6d
feat(GODT-2540): notify user of wrong IMAP password.
2023-05-03 13:17:25 +02:00
543c35041d
fix(GODT-2464): Filter attachment name from content-type parameter to not send it twice to the API.
2023-05-02 07:13:21 +00:00
50709acc5f
chore: Bridge Rialto 3.2.0 changelog
2023-04-28 14:26:01 +02:00
994cec196c
chore: merge tmp/Quebec into devel
2023-04-28 14:05:16 +02:00
910060a14c
fix(GODT-2598): Map Message Size Error to Gluon Error
...
Prevents messages with invalid size from ending up in the recovery
mailbox.
2023-04-28 11:44:02 +02:00
38b13d710c
fix(GODT-2596): fix bug when trying to generate Sentry report and there is not log.
2023-04-28 10:38:26 +02:00