Michal Horejsek
|
313e803fdd
|
Implement new SearchCriteria from latest go-imap
|
6 years ago |
Michal Horejsek
|
cabcb3ae2b
|
Upgrade to latest go-imap-quota with fix for go-imap v1
|
6 years ago |
Michal Horejsek
|
e57a3c2a3a
|
Notify about new mailbox
|
6 years ago |
James Houlahan
|
7a87a7ea2f
|
fix: fixes after rebase
|
6 years ago |
Michal Horejsek
|
c939893131
|
Unseen is first sequence number of unseen message not count of messages
|
6 years ago |
Michal Horejsek
|
ea0f3115a3
|
usage of latest upstream go-imap
|
6 years ago |
Michal Horejsek
|
984b28e8f9
|
User Agent do not contain bridge version, only client in format
|
6 years ago |
James Houlahan
|
23f492705b
|
fix: better draft detection for parentID
|
6 years ago |
James Houlahan
|
522cadb8b1
|
refactor: dedicated constants package, no explicit bridge version
|
6 years ago |
James Houlahan
|
76b480298a
|
fix: better error messages for 422
|
6 years ago |
Ryan Ciehanski
|
68d1442a8f
|
Update copySuccess & appendSuccess messages according to RFCs. https://github.com/ProtonMail/proton-bridge/issues/3
|
6 years ago |
James Houlahan
|
1457005f86
|
fix: address review comments
|
6 years ago |
James Houlahan
|
e027aa5fae
|
test: use clientmanager to logout fakeapi
|
6 years ago |
James Houlahan
|
e95aece6d3
|
refactor: don't pass client directly to store syncer
|
6 years ago |
James Houlahan
|
4809d97cb1
|
feat: clientmanager has checkconnection
|
6 years ago |
James Houlahan
|
bfc4069df4
|
feat: remove user from bridge users list if init failed
|
6 years ago |
James Houlahan
|
3f32fd95e0
|
feat: refresh expired access tokens in one goroutine
|
6 years ago |
Jakub
|
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
|
6 years ago |
James Houlahan
|
debd374d75
|
fix: don't delete uid of anonymous clients
|
6 years ago |
James Houlahan
|
db02eb694d
|
refactor: no more pmapifactory
|
6 years ago |
James Houlahan
|
5bf4d9c6f5
|
refactor: prefer anonymous clients
|
6 years ago |
James Houlahan
|
b01be382fc
|
refactor: GetBridgeAuthChannel --> GetAuthUpdateChannel
|
6 years ago |
James Houlahan
|
042c340881
|
feat: make store use ClientManager
|
6 years ago |
James Houlahan
|
f269be4291
|
refactor: make pmapi.Client the interface
|
6 years ago |
James Houlahan
|
6e38a65bd8
|
feat: improve login flow
|
6 years ago |
James Houlahan
|
941e09079c
|
feat: implement token expiration watcher
|
6 years ago |
James Houlahan
|
ce29d4d74e
|
feat: switch to proxy when need be
|
6 years ago |
James Houlahan
|
f239e8f3bf
|
feat: central auth channel for clients
|
6 years ago |
James Houlahan
|
0a55fac29a
|
feat: simple client manager
|
6 years ago |
Jakub Cuth
|
9072f84646
|
Apply suggestion to internal/store/event_loop.go
|
6 years ago |
James Houlahan
|
c6f32192b9
|
refactor: return ErrNoSuchAPIID any time we get 422
|
6 years ago |
James Houlahan
|
49a64a656c
|
refactor: remove unexported fetchMessage
|
6 years ago |
James Houlahan
|
1c83cc9754
|
Apply suggestion to internal/store/event_loop.go
|
6 years ago |
James Houlahan
|
341a6501e6
|
fix: don't return error when event data is nil
|
6 years ago |
James Houlahan
|
e1ecc11f38
|
feat: add ErrNoSuchMessage to pmapi
|
6 years ago |
James Houlahan
|
d1e63254f2
|
Apply suggestion to internal/store/event_loop.go
|
6 years ago |
James Houlahan
|
0998c67f20
|
Apply suggestion to internal/store/event_loop.go
|
6 years ago |
James Houlahan
|
91ec7edc06
|
fix: better event loop error handling
|
6 years ago |
Michal Horejsek
|
aea816029f
|
Apply suggestion to internal/imap/mailbox_messages.go
|
6 years ago |
Michal Horejsek
|
e166748270
|
Added IMAP extension MOVE with UIDPLUS support
|
6 years ago |
Michal Horejsek
|
0c7a328165
|
Completely delete old draft instead moving to trash when user updates draft
|
6 years ago |
Jakub
|
46f3721d43
|
More logs about event loop activity
|
6 years ago |
Michal Horejsek
|
0cb1ff9b16
|
Do not send an EXISTS reposnse after EXPUNGE or when nothing changed
|
6 years ago |
Michal Horejsek
|
3b1528cc2a
|
IMAP extension Unselect
|
6 years ago |
Michal Horejsek
|
cdfa6b6e49
|
Optimalization of initAddress
|
6 years ago |
Michal Horejsek
|
62ade99e37
|
Optimalization of RebuildMailboxes
|
6 years ago |
Jakub
|
17f4d6097a
|
We build too many walls and not enough bridges
|
6 years ago |