7fc907a874
fix(GODT-2442): must publish loggedOut event.
2023-03-07 18:56:06 +01:00
b953468af2
fix(GODT-2419): avoid context canceled reports
2023-03-07 18:32:33 +01:00
9f4caa4948
feat(GODT-2442): add notification and feedback to CLI.
2023-03-07 17:59:04 +01:00
86630ce137
chore(GODT-2442): improve naming, remove unrelated changes
2023-03-07 17:59:04 +01:00
2c9477d65c
fix(GODT-2442): WIP: bad events just aborts polls, feedback processed in separete channel.
2023-03-07 17:59:04 +01:00
34c002ff68
test(GODT-2442): test bad event feedback and clean-up.
2023-03-07 17:59:04 +01:00
f03688ba72
feat(GODT-2442): add gRPC interface to send feedback.
2023-03-07 17:59:04 +01:00
8c0bb22de3
feat(GODT-2442): handle bad event resync resolution.
2023-03-07 17:59:04 +01:00
53c2cbcaee
test(GODT-2442): test refresh event
2023-03-07 17:59:04 +01:00
07339aff21
fix(GODT-2458): Wait for both bridge and bridge-gui to be ended before restarting on crash.
2023-03-07 16:47:07 +00:00
3ca56cfab3
fix(GODT-2458): Wait for both bridge and bridge-gui to be ended before restarting on crash.
2023-03-07 15:44:58 +00:00
70950e0048
fix(GODT-2457): Include address if GetPublickKeys() error message
2023-03-07 12:58:12 +01:00
febc994cec
feat(GODT-2446): Attach logs to sentry reports for relevant bridge-gui exceptions.
...
Cherry picked from release/perth_narrows (2aa4e7c )
# Conflicts:
# internal/frontend/bridge-gui/bridge-gui/AppController.cpp
# internal/frontend/bridge-gui/bridge-gui/AppController.h
# internal/frontend/bridge-gui/bridge-gui/LogUtils.cpp
# internal/frontend/bridge-gui/bridge-gui/LogUtils.h
# internal/frontend/bridge-gui/bridge-gui/QMLBackend.cpp
# internal/frontend/bridge-gui/bridge-gui/SentryUtils.cpp
# internal/frontend/bridge-gui/bridge-gui/SentryUtils.h
# internal/frontend/bridge-gui/bridge-gui/main.cpp
2023-03-07 10:04:21 +01:00
21ffde316d
fix(GODT-2449): fix bug in Bridge-GUI's Exception::what().
...
Cherry picked from release/perth_narrows (1d426e6 )
2023-03-07 08:52:57 +01:00
2aa4e7c9da
feat(GODT-2446): Attach logs to sentry reports for relevant bridge-gui exceptions.
2023-03-06 18:36:40 +01:00
9058544f5c
feat(GODT-2448): Supported Answered flag
...
Bump gluon and implement changes required for the flag changes.
2023-03-06 16:04:49 +01:00
227bbf1c03
fix(GODT-2425): Out of sync messages and read status
...
Apply fix required for gluon update.
Update Gluon to include revision where the fix was made. Includes:
* https://github.com/ProtonMail/gluon/pull/313
* https://github.com/ProtonMail/gluon/pull/316
* https://github.com/ProtonMail/gluon/pull/317
2023-03-06 12:18:03 +00:00
667998c207
feat(GODT-2435): Group report exception by message if exception message looks corrupted.
2023-03-06 13:04:29 +01:00
1d426e621c
fix(GODT-2449): fix bug in Bridge-GUI's Exception::what().
2023-03-06 12:01:56 +00:00
6e4dcdb93b
feat(GODT-2435): Group report exception by message if exception message looks corrupted.
2023-03-06 09:33:20 +01:00
20f35edc83
chore: fix missing import after cherry-pick.
2023-03-06 08:25:24 +00:00
26cf684fb8
chore: fill sentry user.id with hostname.
2023-03-06 08:25:24 +00:00
2a4cb6a916
chore: fix sentry tag for dev and release on GUI side.
2023-03-06 08:25:24 +00:00
caa4a5cbdb
feat(GODT-2356): unify sentry release description and add more context to it.
2023-03-06 08:25:24 +00:00
91900a7942
feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY.
2023-03-06 08:25:24 +00:00
04a7a81e27
chore(GODT-2444): Bad event info
2023-03-03 13:02:09 +00:00
53d5619c51
fix(GODT-2447): Don't assume timestamp exists in log filename
2023-03-03 10:27:21 +01:00
f793b71569
fix(GODT-2447): Don't assume timestamp exists in log filename
2023-03-03 10:10:06 +01:00
91ab77dce9
fix(GODT-2424): Sync Builder Message Split
...
Incorrect math was causing some messages to not be built and be missing
from Gluon.
2023-03-01 13:13:20 +01:00
69aa784d32
fix(GODT-2426): Fix crash on user delete
...
Ensure we are always acquiring a write lock when modifying the user's
`updateCh` contents.
2023-03-01 12:02:12 +01:00
825031e052
fix(GODT-2426): Fix crash on user delete
...
Ensure we are always acquiring a write lock when modifying the user's
`updateCh` contents.
2023-03-01 11:22:05 +01:00
ee4a8939d5
fix(GODT-2419): Use connector.ErrOperationNotAllowed
...
Return this error when we detect operations that we know are not allowed
so that gluon does not report them to sentry.
Includes Gluon update for the connector error
(https://github.com/ProtonMail/gluon/pull/309 )
2023-03-01 10:44:18 +01:00
89117bbd59
fix(GODT-2413): use qEnvironmentVariable() instead of qgetenv().
...
(cherry picked from commit 10cf153678 )
2023-03-01 07:51:03 +01:00
9e4310712c
fix(GODT-2419): Use connector.ErrOperationNotAllowed
...
Return this error when we detect operations that we know are not allowed
so that gluon does not report them to sentry.
Includes Gluon update for the connector error
(https://github.com/ProtonMail/gluon/pull/309 )
2023-02-28 17:02:35 +01:00
0b35b275d3
fix(GODT-2333): Do not allow modifications to All Mail label
...
Rather than waiting for API to reply, prevent these operations from
taking place in the first place.
2023-02-28 16:51:23 +01:00
d6acb0fb19
fix(GODT-2418): Ensure child folders are updated when parent is
2023-02-28 14:25:11 +01:00
d7bfee2414
feat(GODT-2382): Added bridge-gui settings file with 'UseSoftwareRenderer' value.
2023-02-28 13:04:49 +01:00
4a6460f3ed
feat(GODT-2411): allow qmake executable to be named qmake6.
...
And a free a typo fix.
(cherry picked from commit 4153a69253 )
2023-02-28 09:05:50 +01:00
82af4e01bc
feat(GODT-2364): wait and retry once if the gRPC service config file exists but cannot be opened.
2023-02-28 06:21:36 +01:00
9ad5f74409
feat(GODT-2364): added optional details to C++ exceptions.
2023-02-28 06:21:25 +01:00
10cf153678
fix(GODT-2413): use qEnvironmentVariable() instead of qgetenv().
2023-02-27 15:41:26 +01:00
ad0d4ebd36
fix(GODT-2412): Don't treat context cancellation as BadEvent
2023-02-27 14:34:35 +01:00
9f3c14ab1e
fix(GODT-2404): Handle unexpected EOF
...
When fetching too many attachment bodies at once, the read can fail with
io.ErrUnexpectedEOF. In that case, we returun an error so the fetch is retried.
2023-02-27 14:33:44 +01:00
74cf5d422b
fix(GODT-2390): Missing changes from pervious commit
...
Always reports error type to sentry.
Add error checks for get event as well.
2023-02-27 14:33:38 +01:00
dcf694588c
fix(GODT-2390): Add reports for uncaught json and net.opErr
...
Report to sentry if we see some uncaught network err, but don't force
the user logout.
If we catch an uncaught json parser error we report the error to sentry
and let the user be logged out later.
Finally this patch also prints the error type in UserBadEvent sentry
report to further help diagnose issues.
2023-02-27 14:33:21 +01:00
a2b9fc3dee
feat(GODT-2273): menu with "Close window" and "Quit Bridge" button in main window.
2023-02-27 14:19:00 +01:00
761c16d8cd
fix(GODT-2412): Don't treat context cancellation as BadEvent
2023-02-27 12:48:22 +00:00
810705ba01
fix(GODT-1945): Handle disabled addresses correctly
...
When listing all a user's email addresses (e.g. for apple mail autoconf)
we need to exclude disabled addresses. Similarly, we need to remove
them from gluon if using split mode.
2023-02-27 12:52:39 +01:00
c15917aba4
fix(GODT-2404): Handle unexpected EOF
...
When fetching too many attachment bodies at once, the read can fail with
io.ErrUnexpectedEOF. In that case, we returun an error so the fetch is retried.
2023-02-24 16:02:21 +00:00
51cbb91513
Revert GODT-2373 (bridgelib).
2023-02-24 15:22:12 +01:00