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
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
667998c207
feat(GODT-2435): Group report exception by message if exception message looks corrupted.
2023-03-06 13:04:29 +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
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
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
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
f8bfbaf361
fix(GODT-2390): Missing changes from pervious commit
...
Always reports error type to sentry.
Add error checks for get event as well.
2023-02-24 12:45:13 +01:00
3e878058e7
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-24 11:01:44 +01:00
065dcd4d47
fix(GODT-2393): improved handling of unrecoverable error.
...
Fix a bug introduced in 265af2d . In the top level exception handler, we may not have add the time to establish connection, so we should not try to use the gRPC service to quit bridge.
2023-02-23 18:08:23 +01:00
671db7c516
chore: Fix typo loggin back in
2023-02-23 11:53:41 +01:00
e9f20aee7a
fix(GODT-2387): Ensure vault can be unlocked after factory reset
...
When performing a factory reset, we don't want to wipe all keychain
entries. The only keychain entry should be the vault's passphrase,
and we need this to be able to decrypt the vault at next startup
(to avoid it being reported as corrupt).
2023-02-23 08:11:20 +00:00
8534da98ea
chore: fix missing windows header for bridgelib.
...
bridgelib was moved from bridge-gui to bridgepp project, and windows.h is not auto-included anymore (only Qt core is in the pre-compiled headers).
2023-02-23 06:54:05 +00:00
265af2d299
fix(GODT-2389): close bridge on exception and add max termination wait time.
2023-02-23 07:22:30 +01:00
89112baf96
feat(GODT-2261): sync progress in GUI.
2023-02-22 12:11:42 +00:00
5007d451c2
feat(GODT-2385): Gluon cache fallback
...
Update Gluon to have access to the cache fallback reader.
Provide fallback reader to handle old cache file format.
Remove the old logic to erase all cache files on start as the fallback
option renders this irrelevant.
2023-02-22 12:00:23 +01:00
038eb6d243
feat(GODT-2366): Handle failed message updates as creates
...
This handles the following case:
- event says message was created
- we try to fetch the message but API says the doesn’t exist yet — we skip applying the “message created” update
- event then says message was updated at some point in the future
- we try to handle it but fail because we don’t have the message — we should treat it as a creation
2023-02-21 15:20:05 +01:00
2bd8f6938a
chore: Bump gluon to create missing messages during MessageUpdated
2023-02-21 12:53:05 +01:00
9dfdd07f7a
fix(GODT-2381): Unset draft flag on sent messages
2023-02-20 15:37:36 +01:00
a741ffb595
feat(GODT-2373): introducing bridgelib Go dynamic library in bridge-gui.
2023-02-20 12:21:02 +01:00
54c013012e
feat(GODT-2374): Import TLS certs via shell
2023-02-17 13:49:04 +00:00
4c24c004db
fix(GODT-2371): Continue, not return, when handling draft
2023-02-16 17:23:22 +01:00
571133f2ff
chore: added bridge-gui CMake variable for crashpad_handler path.
...
Ignored in release mode.
2023-02-15 17:49:15 +00:00
0207fa04f1
feat(GODT-2364): wait and retry once if the gRPC service config file exists but cannot be opened.
2023-02-15 17:56:56 +01:00
98fdf45fa3
feat(GODT-2364): added optional details to C++ exceptions.
2023-02-15 16:25:21 +00:00
21b3a4bca3
chore: fill sentry user.id with hostname.
2023-02-15 16:11:04 +00:00
7225fc31da
chore: fix sentry tag for dev and release on GUI side.
2023-02-15 16:10:58 +01:00
eca4810f19
test: step definitions changed
2023-02-15 14:56:46 +01:00
249658c05b
chore: merge branch release/perth_narrows to devel
2023-02-15 14:39:28 +01:00
da82d7a107
fix(GODT-2365): Use predictable remote ID for placeholder mailboxes
2023-02-15 10:42:47 +01:00
08dab2d115
feat(GODT-1264): constraint on Scheduled mailbox in connector + Integration tests.
2023-02-15 07:37:09 +00:00
13db1b0db8
feat(GODT-2356): unify sentry release description and add more context to it.
2023-02-14 16:27:55 +00:00
473be3d485
feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY.
2023-02-13 20:31:32 +01:00
b4b66f94ec
feat(GODT-2355): improve wording and actions on bad event
2023-02-13 14:27:34 +01:00
0823d393ed
feat(GODT-1264): creation and visibility of the 'Scheduled' system label.
...
feat(GODT-1264): typo in error message
feat(GODT-1264): fix split mode broken by previous commit.
2023-02-10 15:24:31 +01:00
cbd36184bd
feat(GODT-2354): report failed to load users.
2023-02-10 11:53:05 +00:00
465f754803
feat(GODT-2353): show popup only after 3.0.16
2023-02-09 17:00:58 +01:00
8b9265ad96
feat(GODT-2283): Limit max import size to 30MB (bump GPA to v0.4.0)
2023-02-09 16:35:08 +01:00
cdff2ef792
fix(GODT-2351): Bump GPA to properly handle net.OpError and add tests
2023-02-08 15:16:28 +00:00
a740a8f962
feat(GODT-2278): properly override server_name for go.
2023-02-08 15:28:58 +01:00
1c88ce3cc0
feat(GODT-2255): Randomize the focus service port.
2023-02-08 10:06:53 +00:00