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
a7a7d9a3d4
GODT-1742: Implement hide All Mail
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
ef2dea89b4
Other: Safer vault
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
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
39b366ee69
GODT-1650: Password as bytes in API login
2022-11-16 12:26:09 +01:00
6ac68984f2
GODT-1609: Fix bridge password encoding
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
4d2baa6b85
Renamed bridge to general users and keep bridge only for bridge stuff
2020-05-25 09:02:34 +02:00
1998d92432
Updates() needs to return imapBackend.Update instead of interface with go-imap v1
2020-05-05 11:47:47 +00:00
1457005f86
fix: address review comments
2020-04-21 13:29:26 +02:00
3f32fd95e0
feat: refresh expired access tokens in one goroutine
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
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
941e09079c
feat: implement token expiration watcher
2020-04-21 08:36:38 +00:00
ce29d4d74e
feat: switch to proxy when need be
2020-04-21 08:36:38 +00:00
f239e8f3bf
feat: central auth channel for clients
2020-04-21 08:36:38 +00:00
0a55fac29a
feat: simple client manager
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