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
c4343e0124
Other: Bump liteapi and clean up tests a bit
2022-11-16 13:48:30 +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
fd63611b41
Other: Safer user types
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
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
9d69a2e565
GODT-1657: Stable sync (still needs more tests)
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
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
4d2baa6b85
Renamed bridge to general users and keep bridge only for bridge stuff
2020-05-25 09:02:34 +02:00
522cadb8b1
refactor: dedicated constants package, no explicit bridge version
2020-04-28 12:39:05 +00:00
e95aece6d3
refactor: don't pass client directly to store syncer
2020-04-21 08:36:39 +00:00
80f4e1e346
Fixing unit tests for client manager.
...
* [x] pmapi: refresh auth uid won't change
* [x] bridge tests:
* update mocks
* delete auth when FinishLogin fails
* check for mailbox password
* add `gomock.InOrder` for better test control
* [x] fix linter issues except TODOs
* [x] make rootScheme unexported
* [x] store tests: update mocks
2020-04-21 08:36:39 +00:00
b01be382fc
refactor: GetBridgeAuthChannel --> GetAuthUpdateChannel
2020-04-21 08:36:38 +00:00
042c340881
feat: make store use ClientManager
2020-04-21 08:36:38 +00:00
f269be4291
refactor: make pmapi.Client the interface
2020-04-21 08:36:38 +00:00
6e38a65bd8
feat: improve login flow
2020-04-21 08:36:38 +00:00
17f4d6097a
We build too many walls and not enough bridges
2020-04-08 12:59:16 +02:00