Jakub
a3e102e456
GODT-1166: Do not expose current auth token in interface
5 years ago
Jakub
0c6a098af9
GODT-1166: Reduce the number of auth for live test
...
- Changed: Do not reauth controller clients.
- Changed: Verbosisty is set only once before run
- Changed: AddUser takes TestAccount as argument
- Added: Setup/clean up before/after test run
- Added: Access to the current refresh token from pmapi.Client interface.
- Added: Context function to add test a user to bridge without login, just call users.FinishLogin.
- Added: PMAPIController.GetAuthClient returns authenticated client for username.
- Added: Persistent clients does not loggout after every scenario.
- Changed: Disabled no-internet tests.
5 years ago
Jakub
a2029002c4
GODT-1155 Update gopenpgp and use go-srp
5 years ago
Michal Horejsek
8109831c07
GODT-35: Finish all details and make tests pass
5 years ago
James Houlahan
2284e9ede1
GODT-35: New pmapi client and manager using resty
5 years ago
James Houlahan
dc3f61acee
Launcher, app/base, sentry, update service
5 years ago
James Houlahan
175f0977f9
chore: bump go-imap dependency and remove go-imap-specialuse dependency
5 years ago
Michal Horejsek
b9740e1b7d
Close connection before deleting labels to prevent panics accessing deleted bucket
5 years ago
James Houlahan
7874183052
fix(GODT-770): handle extraneous end-of-mail
6 years ago
Pavel Škoda
2e439e17cf
Remove unused scope methods
6 years ago
Pavel Škoda
7e5e3d3dd4
Import/Export GUI
6 years ago
James Houlahan
02804d067c
fix: ensure doh connections are closed when it is disabled
6 years ago
James Houlahan
9241a9bdbf
feat: add reloadkeys method
6 years ago
James Houlahan
c19bb0fa97
feat: migrate to gopenpgp v2
6 years ago
James Houlahan
cb8a15a9fd
fix: crash when removing account while messages are being returned
6 years ago
James Houlahan
4b2977041a
fix: missing messages after changing primary address
6 years ago
Michal Horejsek
984b28e8f9
User Agent do not contain bridge version, only client in format
6 years ago
James Houlahan
38f0425670
refactor: make sentry report its own package
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
042c340881
feat: make store use ClientManager
6 years ago
James Houlahan
f269be4291
refactor: make pmapi.Client the interface
6 years ago