Jakub
6671dd38ea
GODT-1524: Logout issues with macOS.
4 years ago
Jakub
d356f306d9
Other: Change copyright year
4 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
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
Jakub
a89dfc4524
Happy New Year
5 years ago
Pavel Škoda
2e439e17cf
Remove unused scope methods
6 years ago
James Houlahan
bf0945eaef
fix: race condition in AuthRefresh that could cause user to be logged out
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
8f15041d8f
fix: race condition when updating user auth
6 years ago
James Houlahan
1457005f86
fix: address review comments
6 years ago
James Houlahan
d4482994ec
fix: missing and incorrect comments
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
debd374d75
fix: don't delete uid of anonymous clients
6 years ago
James Houlahan
ed8595fa5b
test: some work on integration tests (fake)
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
17f4d6097a
We build too many walls and not enough bridges
6 years ago