d356f306d9
Other: Change copyright year
2022-01-04 11:04:30 +01:00
a93a8e7be9
GODT-1356 GODT-1302: Cache on disk concurency and API retries
...
- GODT-1302: Change maximum resty retries from 0 to 30
- GODT-1302: Make sure we are closing GetAttachmen io.ReadCloser on error
- GODT-1356: Do not use attachmentPool - it was useless anyway
- GODT-1356: Increase cache watcher limit to 10min
- GODT-1356: Start cache watcher right after start (do not wait first 10 min)
- GODT-1356: Limit number of buildJobs (memory allocation) in BuildAndCacheMessage
- Other: Pass context from job options (message builder) to fetcher (both message and attachments)
- Other: BuildJob contains same function as returned buildDone (proper map locking)
2021-11-30 10:12:36 +01:00
b8dd9f82bd
GODT-1235: Fix 401 response error handling
2021-08-27 12:29:42 +00:00
8109831c07
GODT-35: Finish all details and make tests pass
2021-04-30 05:41:39 +02:00
2284e9ede1
GODT-35: New pmapi client and manager using resty
2021-04-30 05:34:36 +02:00
7d0af7624c
Other: Bump linter
2021-04-07 10:54:09 +02:00
1f25aeab31
GODT-980: placeholder for user agent
2021-02-17 13:49:51 +01:00
8b436186a4
GODT-1034 More tolerant connection speed detection
2021-02-17 06:13:15 +00:00
cb839ff149
fix: check deprecated API statuscode first to better determine API error
2021-01-25 10:32:07 +00:00
516ca018d3
Mitigate Apple Mail re-sync (both bodies and meta info)
2021-01-22 10:54:35 +01:00
5117672388
Turning off IMAP server while no connection
2021-01-22 10:54:35 +01:00
a89dfc4524
Happy New Year
2021-01-04 11:55:15 +01:00
152046bf97
refactor smtp sending
...
* [x] move package creation logic to `pmapi.SendMessageReq`
* [ ] write test of package creation logic
* [x] internal
* [x] plain
* [x] external encrypted
* [ ] signature ???
* [x] attachments
2020-11-20 13:39:13 +00:00
de58c7a905
Cookies for Import-Export
2020-09-09 09:09:35 +02:00
9218598140
Update routes to API v4
2020-08-31 07:42:20 +00:00
5411b29d17
Merge branch 'release/v1.3.X' into devel
2020-08-17 09:58:39 +02:00
e333ccd29e
feat: persistent cookies
2020-08-12 14:55:24 +02:00
bf0945eaef
fix: race condition in AuthRefresh that could cause user to be logged out
2020-07-16 10:19:50 +02:00
ec224a962f
fix: hang when reloading keys
2020-06-22 10:19:13 +02:00
02804d067c
fix: ensure doh connections are closed when it is disabled
2020-06-17 10:57:12 +02:00
9241a9bdbf
feat: add reloadkeys method
2020-06-16 12:51:28 +02:00
c19bb0fa97
feat: migrate to gopenpgp v2
2020-06-16 07:34:46 +00:00
7ac4c9aecf
fix: don't logout user if auth refresh fails because internet dropped
2020-05-25 15:21:20 +00:00
cb8a15a9fd
fix: crash when removing account while messages are being returned
2020-05-25 08:29:42 +00:00
6147c214c3
Better error message when request is canceled
2020-05-12 10:49:04 +00:00
2d200f6f8c
test: add test with changing address order
2020-05-07 16:19:06 +02:00
984b28e8f9
User Agent do not contain bridge version, only client in format
2020-05-05 11:00:18 +00:00
6e537db5ff
Apply suggestion to pkg/pmapi/client.go
2020-05-04 07:53:55 +00:00
668fc7f039
feat: MinSpeed -> MinBytesPerSecond, check every 3 seconds
2020-05-04 07:53:55 +00:00
51846efed5
Merge branch 'release/v1.2.7' into devel
2020-04-27 15:54:02 +02:00
76b480298a
fix: better error messages for 422
2020-04-23 08:34:38 +00:00
38f0425670
refactor: make sentry report its own package
2020-04-21 08:36:39 +00:00
bafd4e714e
refactor: remove unnecessary getters
2020-04-21 08:36:39 +00:00
db02eb694d
refactor: no more pmapifactory
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
c6f32192b9
refactor: return ErrNoSuchAPIID any time we get 422
2020-04-17 12:12:44 +02:00
e1ecc11f38
feat: add ErrNoSuchMessage to pmapi
2020-04-17 09:19:39 +00:00
17f4d6097a
We build too many walls and not enough bridges
2020-04-08 12:59:16 +02:00