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
04a7a81e27
chore(GODT-2444): Bad event info
2023-03-03 13:02:09 +00:00
ad0d4ebd36
fix(GODT-2412): Don't treat context cancellation as BadEvent
2023-02-27 14:34:35 +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
e35f3b6056
GODT-2223: Fix handling of create/update label events
2023-01-18 14:10:23 +00:00
849c8bee78
GODT-2223: Handle bad events by logging user out
2023-01-18 14:10:23 +00:00
6d0a128111
Other: Update copyright year
2023-01-02 11:09:11 +01:00
1c374b59d3
GODT-2160: Prevent double closing of bridge if restart fails
...
Set imapServer instance to nil once the server is no longer running to
prevent multiple calls to close on shutdown.
2022-11-29 08:38:21 +01:00
ae7ae2886f
GODT-2041: Crash after factory reset
...
I forgot to remove the user from the users map during factory reset.
This meant the (deleted) would attempt to be closed during teardown.
2022-11-28 19:58:10 +01:00
e601245f01
Other(chore): Bump major version to v3
2022-11-23 16:08:27 +01:00
59278913ca
GODT-2037: Handle and log API refresh event
2022-11-16 13:48:31 +01:00
04f2dd1a0b
GODT-2021: Remove gluon data when deleting user
2022-11-16 13:48:31 +01:00
bc7912e8fb
GODT-2022: Fix change between address modes
2022-11-16 13:48:30 +01:00
e4c08be28e
Other: Don't remove/add gluon user when in combined mode
...
This used to be necessary because the connectors didn't have access
to the user's emails, but now they do, so we no longer need to do this.
2022-11-16 13:48:30 +01:00
d4da325e57
Other(refactor): Sort safe.Mutex types before locking to prevent deadlocks
...
This change implements safe.Mutex and safe.RWMutex, which wrap the
sync.Mutex and sync.RWMutex types and are assigned a globally unique
integer ID. The safe.Lock and safe.RLock methods sort the mutexes
by this integer ID before locking to ensure that locks for a given
set of mutexes are always performed in the same order, avoiding
deadlocks.
2022-11-16 13:48:30 +01:00
2bda47fcad
Other(refactor): Less unwieldy user type in Bridge
...
Instead of the annoying safe.Map type, we just use a normal go map
and mutex pair, and use safe.Lock/safe.RLock as a helper function
2022-11-16 13:48:30 +01:00
7c62312220
Other: Fix all linter errors
2022-11-16 12:26:09 +01:00
e10cd2a3ed
GODT-1901: Allow to set IMAP SSL from UI
2022-11-16 12:26:09 +01:00
fd63611b41
Other: Safer user types
2022-11-16 12:26:09 +01:00
14a578f319
Other: Linter fixes after bumping linter version
2022-11-16 12:26:09 +01:00
509a767e50
GODT-1657: More stable sync, with some tests
2022-11-16 12:26:09 +01:00
e9672e6bba
GODT-1815: Combined/Split mode
2022-11-16 12:26:08 +01:00