8e34b51c77
GODT-1940: Fix message encryption
...
Update liteapi to v0.36.0 to include message encryption fix and fix
compile errors related to update.
2022-11-16 13:48:30 +01:00
afc5307a23
Other: Don't close IMAP/SMTP listeners if they could not be created
2022-11-16 13:48:30 +01:00
6fbf6d90dc
Other: Fix IMAP/SMTP/Login leaks/race conditions
...
Depending on the timing of bridge closure, it was possible for the
IMAP/SMTP servers to not have started serving yet. By grouping this in
a cancelable goroutine group (*xsync.Group), we mitigate this issue.
Further, depending on internet disconnection timing during user login,
it was possible for a user to be improperly logged in. This change
fixes this and adds test coverage for it.
Lastly, depending on timing, certain background tasks (updates check,
connectivity ping) could be improperly started or closed. This change
groups them in the *xsync.Group as well to be closed properly.
2022-11-16 13:48:30 +01:00
828385b049
Other: Fix user sync leaks/race conditions
...
This fixes various race conditions and leaks related to the user's sync
and API event stream. It was possible for a sync/stream to begin after a
user was already closed; this change prevents that by managing the
goroutines related to sync/stream within cancellable groups.
2022-11-16 13:48:30 +01:00
6bbaf03f1f
Other: Fix goroutine leaks in sync tests
...
Add missing Close calls.
Properly handle nil channel for `user.startSync`.
This patch also updated liteapi and Gluon to latest master and dev
version respectively.
2022-11-16 13:48:30 +01:00
0f125196a6
Other: Bump go-smtp version to fix race condition
...
There was a race condition internal to the go-smtp library.
In order to fix it, a version bump was necessary.
However, this significantly changed the library interface.
2022-11-16 13:48:30 +01:00
c4343e0124
Other: Bump liteapi and clean up tests a bit
2022-11-16 13:48:30 +01:00
a7a7d9a3d4
GODT-1742: Implement hide All Mail
2022-11-16 12:26:09 +01:00
1729c085c7
Other: Fix user logout hangs due to sync
2022-11-16 12:26:09 +01:00
bf29090ffa
Other: Fix log message, rename test fixture
2022-11-16 12:26:09 +01:00
7c62312220
Other: Fix all linter errors
2022-11-16 12:26:09 +01:00
e10cd2a3ed
GODT-1901: Allow to set IMAP SSL from UI
2022-11-16 12:26:09 +01:00
a74b025de3
Other: Factory reset
2022-11-16 12:26:09 +01:00
ef2dea89b4
Other: Safer vault
2022-11-16 12:26:09 +01:00
593d86f3a7
Other: Single instance
2022-11-16 12:26:09 +01:00
fd63611b41
Other: Safer user types
2022-11-16 12:26:09 +01:00
4dc32dc7f2
Other: Make configure apple mail work in split and combined mode
2022-11-16 12:26:09 +01:00
6ee71d238b
Other: Fix force-update test after version bump
2022-11-16 12:26:09 +01:00
d330000c8d
Other: Put back old 2FA/two-pass flow in GUI
2022-11-16 12:26:09 +01:00
2450511555
Other: Put back split login process in backend
2022-11-16 12:26:09 +01:00
1c922ca083
Other: Fix flaky cookies test
2022-11-16 12:26:09 +01:00
14a578f319
Other: Linter fixes after bumping linter version
2022-11-16 12:26:09 +01:00
0de30afba1
Other: Better cookies test
2022-11-16 12:26:09 +01:00
245f2afeac
GODT-1816: Fix variable case conflict
2022-11-16 12:26:09 +01:00
f01c70e506
GODT-1816: Connect Gluon Logs to bridge Logs
...
Ensure the IMAP commands and SMTP commands are logged to trace channels
with an entry so they are recognizable as before.
2022-11-16 12:26:09 +01:00
509a767e50
GODT-1657: More stable sync, with some tests
2022-11-16 12:26:09 +01:00
e7526f2e78
GODT-1650: Log IMAP errors
2022-11-16 12:26:09 +01:00
9d69a2e565
GODT-1657: Stable sync (still needs more tests)
2022-11-16 12:26:09 +01:00
39b366ee69
GODT-1650: Password as bytes in API login
2022-11-16 12:26:09 +01:00
cce372fc50
GODT-1650: Test of end-to-end send with attachments (internal)
2022-11-16 12:26:09 +01:00
ba9368426c
GODT-1650: Send extras
2022-11-16 12:26:09 +01:00
2cb739027b
GODT-1650: Use trace logger for gluon
2022-11-16 12:26:09 +01:00
120ac6c480
GODT-1609: Fix tests
2022-11-16 12:26:09 +01:00
6ac68984f2
GODT-1609: Fix bridge password encoding
2022-11-16 12:26:09 +01:00
51633e000b
GODT-1609: apply change from MR
2022-11-16 12:26:09 +01:00
b536b8707e
GODT-1609: use byte array for password
2022-11-16 12:26:09 +01:00
e9672e6bba
GODT-1815: Combined/Split mode
2022-11-16 12:26:08 +01:00
9670e29d9f
GODT-1815: Start with missing gluon files
2022-11-16 12:26:08 +01:00
612fb7ad7b
GODT-1815: Start without internet, load users later
2022-11-16 12:26:08 +01:00
39433fe707
GODT-1779: Remove go-imap
2022-11-16 12:26:08 +01:00
19930f63e2
GODT-2046: bridge-gui log is included in optional archive sent with bug reports.
2022-11-10 15:31:55 +01:00
9d800324af
Other: Update golangci-lint to v1.50.0
2022-10-17 11:14:22 +02:00
3c6f80e520
GODT-1833: Linter and pipeline fix after rebase.
2022-09-01 13:44:01 +02:00
40b3f77db0
Other(refactor): Move client config to bridge
2022-09-01 13:31:09 +02:00
0c7453684b
Other(refactor): Move Settings out of frontend
2022-09-01 13:27:06 +02:00
310c6a1ccf
Other(refactor): Remove unencrypted recipient confirmation
2022-09-01 13:26:11 +02:00
4c52a12507
Other(refactor): Move UserAgent out of frontend
2022-09-01 13:26:09 +02:00
1a8e4c953d
Other(refactor): Remove file suffixes
2022-09-01 13:24:42 +02:00
8bf33e211d
Other(refactor): License fixes
2022-09-01 13:24:42 +02:00
c49c296d2b
Other(refactor): Linter fixes
2022-09-01 13:24:42 +02:00