Commit Graph

1582 Commits

Author SHA1 Message Date
bfc4069df4 feat: remove user from bridge users list if init failed 2020-04-21 08:36:39 +00: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
debd374d75 fix: don't delete uid of anonymous clients 2020-04-21 08:36:39 +00:00
db02eb694d refactor: no more pmapifactory 2020-04-21 08:36:39 +00:00
5bf4d9c6f5 refactor: prefer anonymous clients 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
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
9072f84646 Apply suggestion to internal/store/event_loop.go 2020-04-17 10:55:19 +00:00
c6f32192b9 refactor: return ErrNoSuchAPIID any time we get 422 2020-04-17 12:12:44 +02:00
49a64a656c refactor: remove unexported fetchMessage 2020-04-17 11:46:19 +02:00
1c83cc9754 Apply suggestion to internal/store/event_loop.go 2020-04-17 09:19:39 +00:00
341a6501e6 fix: don't return error when event data is nil 2020-04-17 09:19:39 +00:00
e1ecc11f38 feat: add ErrNoSuchMessage to pmapi 2020-04-17 09:19:39 +00:00
d1e63254f2 Apply suggestion to internal/store/event_loop.go 2020-04-17 09:19:39 +00:00
0998c67f20 Apply suggestion to internal/store/event_loop.go 2020-04-17 09:19:39 +00:00
91ec7edc06 fix: better event loop error handling 2020-04-17 09:19:39 +00:00
aea816029f Apply suggestion to internal/imap/mailbox_messages.go 2020-04-17 08:39:17 +00:00
e166748270 Added IMAP extension MOVE with UIDPLUS support 2020-04-17 08:39:17 +00:00
0c7a328165 Completely delete old draft instead moving to trash when user updates draft 2020-04-17 08:31:35 +00:00
46f3721d43 More logs about event loop activity 2020-04-17 06:31:59 +00:00
0cb1ff9b16 Do not send an EXISTS reposnse after EXPUNGE or when nothing changed 2020-04-16 12:46:16 +00:00
3b1528cc2a IMAP extension Unselect 2020-04-15 07:01:28 +00:00
cdfa6b6e49 Optimalization of initAddress 2020-04-14 09:15:34 +02:00
62ade99e37 Optimalization of RebuildMailboxes 2020-04-09 14:03:43 +02:00
17f4d6097a We build too many walls and not enough bridges 2020-04-08 12:59:16 +02:00